aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/feed.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2010-01-24 16:03:32 +0000
committerAndreas Fischer <bantu@phpbb.com>2010-01-24 16:03:32 +0000
commitc496d2561e07e456a30f61997fe397f8c7a9dfd7 (patch)
treec46fd4b6fe91c1f24b446927f06fab5cad5ba391 /phpBB/feed.php
parentb44288e0cfe43614d6d6ad1546060c16a70b173f (diff)
downloadforums-c496d2561e07e456a30f61997fe397f8c7a9dfd7.tar
forums-c496d2561e07e456a30f61997fe397f8c7a9dfd7.tar.gz
forums-c496d2561e07e456a30f61997fe397f8c7a9dfd7.tar.bz2
forums-c496d2561e07e456a30f61997fe397f8c7a9dfd7.tar.xz
forums-c496d2561e07e456a30f61997fe397f8c7a9dfd7.zip
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
Diffstat (limited to 'phpBB/feed.php')
-rw-r--r--phpBB/feed.php2
1 files changed, 1 insertions, 1 deletions
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