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
This commit is contained in:
Andreas Fischer 2010-01-24 16:03:32 +00:00
parent b44288e0cf
commit c496d2561e

View file

@ -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