mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 15:45:34 +02:00
Merge remote-tracking branch 'nickvergessen/ticket/11728' into develop
* nickvergessen/ticket/11728: [ticket/11728] Replace topic_approved with topic_visibility
This commit is contained in:
commit
73ae52d057
@ -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