Updated to allow for both object variables and explicit module returns to be merged into $__module
This commit is contained in:
parent
bf95e07591
commit
33bbcc014b
2 changed files with 8 additions and 0 deletions
|
@ -389,6 +389,10 @@ class Controller extends Object
|
|||
{
|
||||
$module_return = $module->return;
|
||||
}
|
||||
else
|
||||
{
|
||||
$module_return = array_merge($module_return, $module->return);
|
||||
}
|
||||
}
|
||||
|
||||
$display->setModuleReturn(isset($module_return) ? $module_return : array('status' => 'error', 'message' => $error_message));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue