浏览代码

Fixed small bug in handeling timezone (bug #536149)

Pontus Ullgren 23 年之前
父节点
当前提交
39686fa44c
共有 2 个文件被更改,包括 2 次插入1 次删除
  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);
 }
 ?>