From c496d2561e07e456a30f61997fe397f8c7a9dfd7 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Sun, 24 Jan 2010 16:03:32 +0000 Subject: [PATCH] acl_get() of course requires the forum_id there. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10434 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/feed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/feed.php b/phpBB/feed.php index 812b667868..4d1a6e94f1 100644 --- a/phpBB/feed.php +++ b/phpBB/feed.php @@ -887,7 +887,7 @@ class phpbb_feed_forum extends phpbb_feed_post_base { global $auth, $db; - $m_approve = ($auth->acl_get('m_approve')) ? true : false; + $m_approve = ($auth->acl_get('m_approve', $this->forum_id)) ? true : false; $forum_ids = array(0, $this->forum_id); // Determine topics with recent activity