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]); }