|
@@ -1079,7 +1079,8 @@ if (!defined('NOLOGIN')) {
|
|
|
}
|
|
|
|
|
|
$action = '';
|
|
|
- $reshook = $hookmanager->executeHooks('updateSession', array(), $user, $action);
|
|
|
+ $parameters = array();
|
|
|
+ $reshook = $hookmanager->executeHooks('updateSession', $parameters, $user, $action);
|
|
|
if ($reshook < 0) {
|
|
|
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
|
|
}
|
|
@@ -3708,7 +3709,8 @@ if (!function_exists("llxFooter")) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- $reshook = $hookmanager->executeHooks('beforeBodyClose'); // Note that $action and $object may have been modified by some hooks
|
|
|
+ $parameters = array();
|
|
|
+ $reshook = $hookmanager->executeHooks('beforeBodyClose', $parameters); // Note that $action and $object may have been modified by some hooks
|
|
|
if ($reshook > 0) {
|
|
|
print $hookmanager->resPrint;
|
|
|
}
|