]> git.mxchange.org Git - friendica.git/blobdiff - include/onepoll.php
Merge pull request #3088 from beardyunixer/patch-1
[friendica.git] / include / onepoll.php
index 2834036665bad1c3ef0a6d7629761726acd40711..d92cb915b6eb0ce96801086699f40c01fa542866 100644 (file)
@@ -143,8 +143,9 @@ function onepoll_run(&$argv, &$argc){
        $r = q("SELECT `contact`.*, `user`.`page-flags` FROM `contact` INNER JOIN `user` on `contact`.`uid` = `user`.`uid` WHERE `user`.`uid` = %d AND `contact`.`self` = 1 LIMIT 1",
                intval($importer_uid)
        );
-       if(! dbm::is_result($r))
+       if (! dbm::is_result($r)) {
                return;
+       }
 
        $importer = $r[0];