From f4f4354fea8095d0b328707abb83605bbb89d3fb Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Wed, 28 Sep 2011 10:41:04 -0400
Subject: [PATCH] This timezone stuff really is a hard one...
---
program/include/rcube_config.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/program/include/rcube_config.php b/program/include/rcube_config.php
index 338e07e..01e6781 100644
--- a/program/include/rcube_config.php
+++ b/program/include/rcube_config.php
@@ -220,7 +220,7 @@
// override timezone settings with client values
if ($this->prop['timezone'] == 'auto') {
$this->prop['_timezone_value'] = isset($_SESSION['timezone']) ? $_SESSION['timezone'] : $this->prop['_timezone_value'];
- $this->prop['dst_active'] = isset($_SESSION['dst_active']) ? $_SESSION['dst_active'] : $this->prop['dst_active'];
+ $this->prop['dst_active'] = $this->userprefs['dst_active'] = isset($_SESSION['dst_active']) ? $_SESSION['dst_active'] : $this->prop['dst_active'];
}
else if (isset($this->prop['_timezone_value']))
unset($this->prop['_timezone_value']);
--
Gitblit v1.9.1