Fixed posts not being displayed

This commit is contained in:
dmzx
2016-04-07 21:13:46 +02:00
parent 46380fea08
commit 13a8dc2162

View File

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