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