From: Michael Date: Wed, 24 May 2017 10:36:44 +0000 (+0000) Subject: Priority needs to be integer X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3d14fa3d816cddf07b399cff0dad2a2c128dba4d;p=friendica.git Priority needs to be integer --- 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.