mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +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:
@@ -550,7 +550,10 @@ generate_forum_rules($topic_data);
|
||||
|
||||
// Moderators
|
||||
$forum_moderators = array();
|
||||
get_moderators($forum_moderators, $forum_id);
|
||||
if ($config['load_moderators'])
|
||||
{
|
||||
get_moderators($forum_moderators, $forum_id);
|
||||
}
|
||||
|
||||
// This is only used for print view so ...
|
||||
$server_path = (!$view) ? $phpbb_root_path : generate_board_url() . '/';
|
||||
|
Reference in New Issue
Block a user