aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_prefs.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-07-19 17:41:27 +0200
committerJoas Schilling <nickvergessen@gmx.de>2012-07-19 17:41:27 +0200
commit7df1c84447903ecc97a8418339ec6933bdfc9035 (patch)
tree49a4ca4338b2ff5a8bbda518eac236c1af87e043 /phpBB/includes/ucp/ucp_prefs.php
parent5b7884907c7b6e24689f826f90fc5f10cb968118 (diff)
downloadforums-7df1c84447903ecc97a8418339ec6933bdfc9035.tar
forums-7df1c84447903ecc97a8418339ec6933bdfc9035.tar.gz
forums-7df1c84447903ecc97a8418339ec6933bdfc9035.tar.bz2
forums-7df1c84447903ecc97a8418339ec6933bdfc9035.tar.xz
forums-7df1c84447903ecc97a8418339ec6933bdfc9035.zip
[feature/new-tz-handling] Don't use global user but make it a parameter
PHPBB3-9558
Diffstat (limited to 'phpBB/includes/ucp/ucp_prefs.php')
-rw-r--r--phpBB/includes/ucp/ucp_prefs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_prefs.php b/phpBB/includes/ucp/ucp_prefs.php
index f63758c52d..2228bc7931 100644
--- a/phpBB/includes/ucp/ucp_prefs.php
+++ b/phpBB/includes/ucp/ucp_prefs.php
@@ -131,7 +131,7 @@ class ucp_prefs
}
$dateformat_options .= '>' . $user->lang['CUSTOM_DATEFORMAT'] . '</option>';
- $timezone_selects = phpbb_timezone_select($data['tz'], true, false);
+ $timezone_selects = phpbb_timezone_select($user, $data['tz'], true);
$template->assign_vars(array(
'ERROR' => (sizeof($error)) ? implode('<br />', $error) : '',