X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fallfriends.php;h=240aa524be308ea605076fcb250a9da693a7dd42;hb=378cbd90270516be1701adc5bfe64008ef0c17d9;hp=03f78e696e2c4946a112dc2aeecd694472e049e8;hpb=a843858654f475ae6b9ff88fc7bed636b12bd5f6;p=friendica.git diff --git a/mod/allfriends.php b/mod/allfriends.php index 03f78e696e..240aa524be 100644 --- a/mod/allfriends.php +++ b/mod/allfriends.php @@ -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; }