diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 6b87e9acf9..f76f918451 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -237,7 +237,7 @@ function gen_sort_selects(&$limit_days, &$sort_by_text, &$sort_days, &$sort_key, */ function make_jumpbox($action, $forum_id = false, $select_all = false, $acl_list = false) { - global $config, $auth, $template, $user, $db, $phpEx; + global $config, $auth, $template, $user, $db; if (!$config['load_jumpbox']) { @@ -679,7 +679,7 @@ function style_select($default = '', $all = false) */ function tz_select($default = '', $truncate = false) { - global $sys_timezone, $user; + global $user; $tz_select = ''; foreach ($user->lang['tz_zones'] as $offset => $zone) diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index 15daa0c999..c30219c118 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -2264,6 +2264,7 @@ function group_update_listings($group_id) { if (!function_exists('cache_moderators')) { + global $phpbb_root_path, $phpEx; include($phpbb_root_path . 'includes/functions_admin.' . $phpEx); } cache_moderators();