diff options
author | alecpl <alec@alec.pl> | 2008-09-24 10:41:44 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-09-24 10:41:44 +0000 |
commit | d6869a66938db760a6b10990f0dbccc81347ffb3 (patch) | |
tree | 452ae1187ede712b6055ba561f077bc9c7b887d3 | |
parent | 7315902cb283e5daa8cc2700fe295c03bb8f4c82 (diff) |
- Fix language autodetection (#1485401)
-rw-r--r-- | CHANGELOG | 7 | ||||
-rw-r--r-- | program/include/rcube_user.php | 3 |
2 files changed, 9 insertions, 1 deletions
@@ -1,6 +1,13 @@ CHANGELOG RoundCube Webmail --------------------------- +2008/09/23 (alec) +---------- +- Fix language autodetection (#1485401) +- Fix button label in folders management (#1485405) +- Fix collapsed folder not indicating unread msgs count of all subfolders (#1485403) +- Fix handling of apostrophes in filenames decoded according to rfc2231 + 2008/09/19 (thomasb) ---------- - Made config files location configurable (#1485215) diff --git a/program/include/rcube_user.php b/program/include/rcube_user.php index 97de97b37..8c77fdcf4 100644 --- a/program/include/rcube_user.php +++ b/program/include/rcube_user.php @@ -78,7 +78,8 @@ class rcube_user */ function get_prefs() { - $prefs = array('language' => $this->language); + if (!empty($this->language)) + $prefs = array('language' => $this->language); if ($this->ID && $this->data['preferences']) $prefs += (array)unserialize($this->data['preferences']); |