X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2FForumManager.php;h=d01ece4d95377fb2f3643484d095fda8ebeb74ee;hb=b9da831138667700d465f15ad50df650ab4da427;hp=cb353a9d9b99a9727acec2efdc6437da5772df07;hpb=e67554924accc40fc68b8c68c85a4db7fb1f73e5;p=friendica.git diff --git a/include/ForumManager.php b/include/ForumManager.php index cb353a9d9b..d01ece4d95 100644 --- a/include/ForumManager.php +++ b/include/ForumManager.php @@ -88,7 +88,7 @@ class ForumManager { $total = count($contacts); $visible_forums = 10; - if(count($contacts)) { + if(dbm::is_result($contacts)) { $id = 0;