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) {