]> git.mxchange.org Git - friendica.git/blobdiff - include/ForumManager.php
Fallback for empty names
[friendica.git] / include / ForumManager.php
index cb353a9d9b99a9727acec2efdc6437da5772df07..d01ece4d95377fb2f3643484d095fda8ebeb74ee 100644 (file)
@@ -88,7 +88,7 @@ class ForumManager {
                $total = count($contacts);
                $visible_forums = 10;
 
-               if(count($contacts)) {
+               if(dbm::is_result($contacts)) {
 
                        $id = 0;