thomascube
2011-09-28 f4f4354fea8095d0b328707abb83605bbb89d3fb
This timezone stuff really is a hard one...

1 files modified
2 ■■■ changed files
program/include/rcube_config.php 2 ●●● patch | view | raw | blame | history
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']);