mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-13 20:28:44 +01:00
[bug/58695] Use method to get forums where user is moderator, thanks to bantu for the hint
This commit is contained in:
parent
8d0c0dcbcd
commit
0d4daeb615
@ -994,7 +994,7 @@ class phpbb_feed_topic extends phpbb_feed_post_base
|
||||
if (!$this->topic_data['topic_approved'])
|
||||
{
|
||||
// Also require m_approve
|
||||
$in_fid_ary = array_intersect($in_fid_ary, array_keys($auth->acl_getf('m_approve', true)));
|
||||
$in_fid_ary = array_intersect($in_fid_ary, $this->get_moderator_approve_forums());
|
||||
|
||||
if (empty($in_fid_ary))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user