From fcd0b198f5b11bac14e3163ee9a4ab667da9e369 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 11 Jan 2017 23:18:51 +0000 Subject: [PATCH] Correction of commit a96eb3428dfd66e132ff834212be408ee64337b2 --- include/cron.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/cron.php b/include/cron.php index 5a9054b11b..059bcea437 100644 --- a/include/cron.php +++ b/include/cron.php @@ -264,8 +264,9 @@ function cron_poll_contacts($argc, $argv) { intval($c['id']) ); - if (dbm::is_result($res)) + if (!dbm::is_result($res)) { continue; + } foreach($res as $contact) {