Used more dbm::is_result() instead of (!$r) or (!count($r)), still there are
more pending ... Also put SQL table columns into back-ticks. Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
@@ -264,7 +264,7 @@ function cron_poll_contacts($argc, $argv) {
|
||||
intval($c['id'])
|
||||
);
|
||||
|
||||
if((! $res) || (! count($res)))
|
||||
if (dbm::is_result($res))
|
||||
continue;
|
||||
|
||||
foreach($res as $contact) {
|
||||
|
||||
Reference in New Issue
Block a user