mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 12:14:06 +02:00
[ticket/15237] Fix unguarded includes to functions_user
https://tracker.phpbb.com/browse/PHPBB3-15237 PHPBB3-15237
This commit is contained in:
@@ -101,7 +101,10 @@ switch ($mode)
|
||||
{
|
||||
case 'team':
|
||||
// Display a listing of board admins, moderators
|
||||
include($phpbb_root_path . 'includes/functions_user.' . $phpEx);
|
||||
if (!function_exists('user_get_id_name'))
|
||||
{
|
||||
include($phpbb_root_path . 'includes/functions_user.' . $phpEx);
|
||||
}
|
||||
|
||||
$page_title = $user->lang['THE_TEAM'];
|
||||
$template_html = 'memberlist_team.html';
|
||||
|
Reference in New Issue
Block a user