mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
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:
parent
b44288e0cf
commit
c496d2561e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue