Merge pull request #3085 from annando/1701-poll-contacts
Correction of commit a96eb3428d
This commit is contained in:
commit
3f655ee7c4
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue