mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-07 16:15:22 +02:00
[ticket/11728] Replace topic_approved with topic_visibility
PHPBB3-11728
This commit is contained in:
parent
127ee62edd
commit
aa77367267
@ -60,7 +60,7 @@ class phpbb_feed_topic extends phpbb_feed_post_base
|
|||||||
$this->forum_id = (int) $this->topic_data['forum_id'];
|
$this->forum_id = (int) $this->topic_data['forum_id'];
|
||||||
|
|
||||||
// Make sure topic is either approved or user authed
|
// Make sure topic is either approved or user authed
|
||||||
if (!$this->topic_data['topic_approved'] && !$this->auth->acl_get('m_approve', $this->forum_id))
|
if ($this->topic_data['topic_visibility'] != ITEM_APPROVED && !$this->auth->acl_get('m_approve', $this->forum_id))
|
||||||
{
|
{
|
||||||
trigger_error('SORRY_AUTH_READ');
|
trigger_error('SORRY_AUTH_READ');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user