Merge pull request #3085 from annando/1701-poll-contacts
Correction of commit a96eb3428d
This commit is contained in:
commit
3f655ee7c4
|
@ -264,8 +264,9 @@ function cron_poll_contacts($argc, $argv) {
|
||||||
intval($c['id'])
|
intval($c['id'])
|
||||||
);
|
);
|
||||||
|
|
||||||
if (dbm::is_result($res))
|
if (!dbm::is_result($res)) {
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
foreach($res as $contact) {
|
foreach($res as $contact) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue