]> git.mxchange.org Git - friendica.git/blobdiff - mod/allfriends.php
Continued with #3010:
[friendica.git] / mod / allfriends.php
index 03f78e696e2c4946a112dc2aeecd694472e049e8..240aa524be308ea605076fcb250a9da693a7dd42 100644 (file)
@@ -39,7 +39,7 @@ function allfriends_content(&$a) {
 
        $r = all_friends(local_user(), $cid, $a->pager['start'], $a->pager['itemspage']);
 
-       if(! count($r)) {
+       if(! dbm::is_result($r)) {
                $o .= t('No friends to display.');
                return $o;
        }