From e559615453adde9f7fceaf03662383481864f076 Mon Sep 17 00:00:00 2001 From: ullgren Date: Sat, 30 Mar 2002 13:09:49 +0000 Subject: [PATCH] Fixed small bug in handeling timezone (bug #536149) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2650 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- ChangeLog | 1 + src/validate.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3c519628..b2a524c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -30,6 +30,7 @@ Version 1.2.6 -- CVS - SquirrelSpell version 0.3.8 -- pretty configuration error reporting added by popular demand. - Improved the handling of IMAP [PARSE] messages to reduce retrieval error. + - Fixed small bug in handeling timezone (bug #536149) Version 1.2.5 -- 22 February 2002 --------------------------------- diff --git a/src/validate.php b/src/validate.php index 3d6d20e6..3763001c 100644 --- a/src/validate.php +++ b/src/validate.php @@ -80,7 +80,7 @@ global $username, $data_dir; set_up_language(getPref($data_dir, $username, 'language')); $timeZone = getPref($data_dir, $username, 'timezone'); -if ( $timeZone ) { +if ( $timeZone != SMPREF_NONE ) { putenv("TZ=".$timeZone); } ?> -- 2.25.1