From 3d14fa3d816cddf07b399cff0dad2a2c128dba4d Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 24 May 2017 10:36:44 +0000 Subject: [PATCH] Priority needs to be integer --- include/notifier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/notifier.php b/include/notifier.php index dd0a65089a..f0396798f7 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -58,7 +58,7 @@ function notifier_run(&$argv, &$argc){ // Inherit the priority $queue = dba::select('workerqueue', array('priority'), array('pid' => getmypid()), array('limit' => 1)); if (dbm::is_result($queue)) { - $priority = $queue['priority']; + $priority = (int)$queue['priority']; logger('inherited priority: '.$priority); } else { // Normally this shouldn't happen.