mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-14 04:30:29 +01:00
[ticket/16793] Fix topic/post visibility - PHP 8
PHPBB3-16793
This commit is contained in:
parent
1177f843c5
commit
c9b32463de
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user