Merge pull request #3296 from tobiasd/20170407-isresult
small fix for #3254
This commit is contained in:
commit
39ccbe2e45
|
@ -21,7 +21,7 @@ function update_gcontact_run(&$argv, &$argc) {
|
||||||
|
|
||||||
$r = q("SELECT * FROM `gcontact` WHERE `id` = %d", intval($contact_id));
|
$r = q("SELECT * FROM `gcontact` WHERE `id` = %d", intval($contact_id));
|
||||||
|
|
||||||
if (!dbm::_is_result($r)) {
|
if (!dbm::is_result($r)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue