Fix undefined variable/wrong parameter count/unknown functions
This commit is contained in:
parent
4b5894817e
commit
2978b1eef0
16 changed files with 36 additions and 33 deletions
|
@ -18,7 +18,7 @@ Class CronHooks {
|
|||
foreach ($a->hooks["cron"] as $single_hook) {
|
||||
if ($single_hook[1] == $hook) {
|
||||
logger("Calling cron hook '" . $hook . "'", LOGGER_DEBUG);
|
||||
call_single_hook($a, $name, $single_hook, $data);
|
||||
call_single_hook($a, $hook, $single_hook);
|
||||
}
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue