aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2010-03-08 11:56:20 +0100
committerJoas Schilling <nickvergessen@gmx.de>2010-04-03 12:56:52 +0200
commit0d4daeb615ed35dc4ded54dd2034df6317837a77 (patch)
tree4a6fdc2d4240675e39c8770d968c788b3cf2dd67
parent8d0c0dcbcd890871f5b057afb8abb7fce0465b2f (diff)
downloadforums-0d4daeb615ed35dc4ded54dd2034df6317837a77.tar
forums-0d4daeb615ed35dc4ded54dd2034df6317837a77.tar.gz
forums-0d4daeb615ed35dc4ded54dd2034df6317837a77.tar.bz2
forums-0d4daeb615ed35dc4ded54dd2034df6317837a77.tar.xz
forums-0d4daeb615ed35dc4ded54dd2034df6317837a77.zip
[bug/58695] Use method to get forums where user is moderator, thanks to bantu for the hint
-rw-r--r--phpBB/feed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/feed.php b/phpBB/feed.php
index e0365462a0..d52d3e6c8b 100644
--- a/phpBB/feed.php
+++ b/phpBB/feed.php
@@ -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))
{