aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)