aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_compatibility.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-09-17 14:15:16 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-09-17 14:22:08 +0200
commit9ebee7de323eae3ac86f025f44429d2d4bc995b1 (patch)
tree93bdbdd2e0c86391fc9c27182af409fca833370d /phpBB/includes/functions_compatibility.php
parent20903c0a9b0bc2df65feca467a2e318e700a9b8a (diff)
downloadforums-9ebee7de323eae3ac86f025f44429d2d4bc995b1.tar
forums-9ebee7de323eae3ac86f025f44429d2d4bc995b1.tar.gz
forums-9ebee7de323eae3ac86f025f44429d2d4bc995b1.tar.bz2
forums-9ebee7de323eae3ac86f025f44429d2d4bc995b1.tar.xz
forums-9ebee7de323eae3ac86f025f44429d2d4bc995b1.zip
[ticket/12858] Generate timezone selects with template loop
PHPBB3-12858
Diffstat (limited to 'phpBB/includes/functions_compatibility.php')
-rw-r--r--phpBB/includes/functions_compatibility.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_compatibility.php b/phpBB/includes/functions_compatibility.php
index 093cb19538..6db23d9f65 100644
--- a/phpBB/includes/functions_compatibility.php
+++ b/phpBB/includes/functions_compatibility.php
@@ -133,9 +133,9 @@ function phpbb_clean_path($path)
*/
function tz_select($default = '', $truncate = false)
{
- global $user;
+ global $template, $user;
- $timezone_select = phpbb_timezone_select($user, $default, $truncate);
+ $timezone_select = phpbb_timezone_select($template, $user, $default, $truncate);
return $timezone_select['tz_select'];
}