summaryrefslogtreecommitdiffstats
path: root/apis
diff options
context:
space:
mode:
authorSimon Rettberg2017-03-21 12:18:47 +0100
committerSimon Rettberg2017-03-21 12:18:47 +0100
commitc415a9374872c6235fe822a5e038546522817e3a (patch)
treed04977a0cb1978195af5ce2ce083832de92e7178 /apis
parent[webinterface] Remember last HTTPS config; add redirect to HTTPS setting (diff)
downloadslx-admin-c415a9374872c6235fe822a5e038546522817e3a.tar.gz
slx-admin-c415a9374872c6235fe822a5e038546522817e3a.tar.xz
slx-admin-c415a9374872c6235fe822a5e038546522817e3a.zip
Fix a couple of warnings and notices from error.log
Diffstat (limited to 'apis')
-rw-r--r--apis/cron.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apis/cron.inc.php b/apis/cron.inc.php
index a0042e61..0bcd2490 100644
--- a/apis/cron.inc.php
+++ b/apis/cron.inc.php
@@ -50,7 +50,7 @@ foreach (Hook::load('cron') as $hook) {
continue;
}
}
- $value = $hook . '|' . time();
+ $value = $hook->moduleId . '|' . time();
Property::addToList(CRON_KEY_STATUS, $value, 1800);
handleModule($hook->file);
Property::removeFromList(CRON_KEY_STATUS, $value);