Fixed posts not being displayed
This commit is contained in:
1 parent
46380fea08
commit
13a8dc2162
1 file changed
+1
-1
+1
-1
@@ -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]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user