mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-19 09:48:53 +00:00
[ticket/16793] Fix topic/post visibility - PHP 8
PHPBB3-16793
This commit is contained in:
parent
1177f843c5
commit
c9b32463de
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ class content_visibility
|
||||||
|
|
||||||
$is_visible = ($visibility == ITEM_APPROVED) ||
|
$is_visible = ($visibility == ITEM_APPROVED) ||
|
||||||
($this->config['display_unapproved_posts']
|
($this->config['display_unapproved_posts']
|
||||||
&& ($this->user->data['user_id'] != ANONYMOUS)#
|
&& ($this->user->data['user_id'] != ANONYMOUS)
|
||||||
&& ($visibility == ITEM_UNAPPROVED || $visibility == ITEM_REAPPROVE)
|
&& ($visibility == ITEM_UNAPPROVED || $visibility == ITEM_REAPPROVE)
|
||||||
) ||
|
) ||
|
||||||
$this->auth->acl_get('m_approve', $forum_id);
|
$this->auth->acl_get('m_approve', $forum_id);
|
||||||
|
|
Loading…
Add table
Reference in a new issue