mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-27 02:05:02 +02:00
Ability to fetch moderators with get_moderators() even if load_moderators setting is off. (Bug #35955)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9640 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -135,7 +135,10 @@ if ($forum_data['left_id'] != $forum_data['right_id'] - 1)
|
||||
else
|
||||
{
|
||||
$template->assign_var('S_HAS_SUBFORUM', false);
|
||||
get_moderators($moderators, $forum_id);
|
||||
if ($config['load_moderators'])
|
||||
{
|
||||
get_moderators($moderators, $forum_id);
|
||||
}
|
||||
}
|
||||
|
||||
// Dump out the page header and load viewforum template
|
||||
|
Reference in New Issue
Block a user