Browse Source

Fixed small bug in handeling timezone (bug #536149)

Pontus Ullgren 23 years ago
parent
commit
39686fa44c
2 changed files with 2 additions and 1 deletions
  1. 1 0
      ChangeLog
  2. 1 1
      src/validate.php

+ 1 - 0
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
 ---------------------------------

+ 1 - 1
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);
 }
 ?>