aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2010-07-08 22:09:24 +0100
committerOleg Pudeyev <oleg@bsdpower.com>2012-03-14 22:57:30 -0400
commit190b019fa28f59c018554916e33446d93efb7311 (patch)
treeece1719702beb44f9e56ebdcfece25511a1a2479 /phpBB/includes/functions.php
parent0f320a6c48d63154bba45c2937adeee79165816c (diff)
downloadforums-190b019fa28f59c018554916e33446d93efb7311.tar
forums-190b019fa28f59c018554916e33446d93efb7311.tar.gz
forums-190b019fa28f59c018554916e33446d93efb7311.tar.bz2
forums-190b019fa28f59c018554916e33446d93efb7311.tar.xz
forums-190b019fa28f59c018554916e33446d93efb7311.zip
[feature/new-tz-handling] Remove case mangling, the identifiers are correct.
PHPBB3-9558
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index fb8ea93e32..69bfe3e090 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -1098,9 +1098,9 @@ function tz_select($default = '', $truncate = false)
{
// No label, we'll figure one out
// @todo rtl languages?
- $bits = explode('/', strtolower(str_replace('_', ' ', $timezone)));
+ $bits = explode('/', str_replace('_', ' ', $timezone));
- $title = $label = ucwords(implode(' - ', $bits));
+ $title = $label = implode(' - ', $bits);
}
if ($truncate)