summaryrefslogtreecommitdiffstats
path: root/apis/cron.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'apis/cron.inc.php')
-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);