X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fcommunity.php;h=2c2ea32b33cc5ee7e4413c14bc9dddc9beb08946;hb=8ce20f975c7fc1c27d1981234aefc93b0e7b662a;hp=c8d1e0c9ddf10505661db79551ea36464b789470;hpb=126c4774c330d9c9c9038312198c57fb653682df;p=friendica.git diff --git a/mod/community.php b/mod/community.php index c8d1e0c9dd..2c2ea32b33 100644 --- a/mod/community.php +++ b/mod/community.php @@ -1,7 +1,7 @@ set_pager_total($r[0]['total']); if(! $r[0]['total']) { @@ -71,7 +71,7 @@ function community_content(&$a, $update = 0) { $r = community_getitems($a->pager['start'], $a->pager['itemspage']); - if(! count($r)) { + if (! dbm::is_result($r)) { info( t('No results.') . EOL); return $o; }