From 13a8dc2162c013ba94a299dd2f71d27d802bbf1c Mon Sep 17 00:00:00 2001 From: dmzx Date: Thu, 7 Apr 2016 21:13:46 +0200 Subject: [PATCH] Fixed posts not being displayed --- core/mchat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/mchat.php b/core/mchat.php index 40a9723..39932d6 100644 --- a/core/mchat.php +++ b/core/mchat.php @@ -690,7 +690,7 @@ class mchat } // Post is not approved and no approval permission - if ($row['post_visibility'] !== ITEM_APPROVED && !$this->auth->acl_get('m_approve', $row['forum_id'])) + if ($row['post_visibility'] != ITEM_APPROVED && !$this->auth->acl_get('m_approve', $row['forum_id'])) { unset($rows[$i]); }