diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-09-28 14:26:23 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-09-28 14:26:23 +0000 |
| commit | 11ed66a8483f653bcd217e6d8a95a9239bae21d5 (patch) | |
| tree | ccafd2cd3407a04974ea91a298d0324cae5651db /roundcubemail/program/include/rcube_config.php | |
| parent | c41f6c7a587d9a84c4ddb43f61a7bcb2cf4085ae (diff) | |
Unset auto timezone value if overwritten by user prefs
git-svn-id: https://svn.roundcube.net/trunk@5288 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_config.php')
| -rw-r--r-- | roundcubemail/program/include/rcube_config.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roundcubemail/program/include/rcube_config.php b/roundcubemail/program/include/rcube_config.php index 1c8e23733..338e07e4b 100644 --- a/roundcubemail/program/include/rcube_config.php +++ b/roundcubemail/program/include/rcube_config.php @@ -222,6 +222,8 @@ class rcube_config $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']; } + else if (isset($this->prop['_timezone_value'])) + unset($this->prop['_timezone_value']); } |
