X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsuggest.php;h=8f4315a84146ad4446b2fa0c3d28eab191086aa0;hb=6a8a36f12d00f35004fbb034972ca87dd1a3c4f5;hp=4399450eccf2a1330882886d10e9923bc820e383;hpb=293436e5fd5110220c969513858dbb979f1f35d3;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index 4399450ecc..8f4315a841 100644 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -67,7 +67,7 @@ function suggest_content(&$a) { $r = suggestion_query(local_user()); - if(! count($r)) { + if(! dbm::is_result($r)) { $o .= t('No suggestions available. If this is a new site, please try again in 24 hours.'); return $o; }