From 4ac4c7f969a2960ecb58a4866e5b14f382040aa7 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sat, 23 Mar 2002 23:12:31 +0000 Subject: [PATCH] timezone setup should be isset not !empty ... GMT is 0 after all .. oops git-svn-id: file:///svn/phpbb/trunk@2417 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 379bbf14af..b94452eff1 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -196,7 +196,7 @@ function init_userprefs($userdata) $board_config['default_dateformat'] = $userdata['user_dateformat']; } - if ( !empty($userdata['user_timezone']) ) + if ( isset($userdata['user_timezone']) ) { $board_config['board_timezone'] = $userdata['user_timezone']; }