From c415a9374872c6235fe822a5e038546522817e3a Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 21 Mar 2017 12:18:47 +0100 Subject: Fix a couple of warnings and notices from error.log --- apis/cron.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apis') 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); -- cgit v1.2.3-55-g7522