mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 06:51:08 +02:00
[ticket/16793] Fix topic/post visibility - PHP 8
PHPBB3-16793
This commit is contained in:
@@ -148,7 +148,7 @@ class content_visibility
|
||||
|
||||
$is_visible = ($visibility == ITEM_APPROVED) ||
|
||||
($this->config['display_unapproved_posts']
|
||||
&& ($this->user->data['user_id'] != ANONYMOUS)#
|
||||
&& ($this->user->data['user_id'] != ANONYMOUS)
|
||||
&& ($visibility == ITEM_UNAPPROVED || $visibility == ITEM_REAPPROVE)
|
||||
) ||
|
||||
$this->auth->acl_get('m_approve', $forum_id);
|
||||
|
Reference in New Issue
Block a user