aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-11-27 16:05:23 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-11-27 16:05:23 +0000
commit688ef7560a4c785ab5191ca2ff589c9361c459f6 (patch)
tree019d567d43f1e1db2495424191266d23f03a02a2 /phpBB/includes
parent22c729c41b275d443e1ec3ffc9c6afc723b339ac (diff)
downloadforums-688ef7560a4c785ab5191ca2ff589c9361c459f6.tar
forums-688ef7560a4c785ab5191ca2ff589c9361c459f6.tar.gz
forums-688ef7560a4c785ab5191ca2ff589c9361c459f6.tar.bz2
forums-688ef7560a4c785ab5191ca2ff589c9361c459f6.tar.xz
forums-688ef7560a4c785ab5191ca2ff589c9361c459f6.zip
Using a different approach for the data updates (same as the schema updates)
git-svn-id: file:///svn/phpbb/trunk@6671 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions.php2
-rw-r--r--phpBB/includes/ucp/ucp_prefs.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 614b5bbc64..5d12f9684c 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -687,7 +687,7 @@ function tz_select($default = '', $truncate = false)
if ($truncate)
{
$zone_trunc = truncate_string($zone, 50, false, '...');
- }
+ }
else
{
$zone_trunc = $zone;
diff --git a/phpBB/includes/ucp/ucp_prefs.php b/phpBB/includes/ucp/ucp_prefs.php
index d9afd7e623..e72673c023 100644
--- a/phpBB/includes/ucp/ucp_prefs.php
+++ b/phpBB/includes/ucp/ucp_prefs.php
@@ -130,7 +130,7 @@ class ucp_prefs
'S_LANG_OPTIONS' => language_select($data['lang']),
'S_STYLE_OPTIONS' => ($config['override_user_style']) ? '' : style_select($data['style']),
- 'S_TZ_OPTIONS' => tz_select($data['tz'], true),
+ 'S_TZ_OPTIONS' => tz_select($data['tz'], true),
'S_CAN_HIDE_ONLINE' => ($auth->acl_get('u_hideonline')) ? true : false,
'S_SELECT_NOTIFY' => ($config['jab_enable'] && $user->data['user_jabber'] && @extension_loaded('xml')) ? true : false)
);