X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2FForumManager.php;h=c2a20df29faf069bd0b3fc987b33e3d12b918e7f;hb=e24c3a5b826d2357e40a173d9e7b66048dab5b37;hp=cb353a9d9b99a9727acec2efdc6437da5772df07;hpb=e67554924accc40fc68b8c68c85a4db7fb1f73e5;p=friendica.git diff --git a/include/ForumManager.php b/include/ForumManager.php index cb353a9d9b..c2a20df29f 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;