diff options
author | Thomas Bruederli <bruederli@kolabsys.com> | 2012-11-02 12:46:00 (GMT) |
---|---|---|
committer | Thomas Bruederli <bruederli@kolabsys.com> | 2012-11-02 12:46:00 (GMT) |
commit | dbe7352ce100eb6c8d6619d68fe9b6a81b029112 (patch) | |
tree | 159b217a39f4c51c9ea08ebd7cd4a81648df4da7 | |
parent | 50b3b8e766ca081f492521a4f502284e139c8915 (diff) | |
download | roundcubemail-plugins-kolab-dbe7352ce100eb6c8d6619d68fe9b6a81b029112.tar.gz |
Fix default config folder selection (list is not indexed anymore)
-rw-r--r-- | plugins/kolab_config/kolab_config.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/kolab_config/kolab_config.php b/plugins/kolab_config/kolab_config.php index 4fe8a7f..23188cf 100644 --- a/plugins/kolab_config/kolab_config.php +++ b/plugins/kolab_config/kolab_config.php @@ -77,7 +77,7 @@ class kolab_config extends rcube_plugin // if no folder is set as default, choose the first one if (!$this->default) - $this->default = $this->folders[0]; + $this->default = reset($this->folders); // check if configuration folder exist if ($this->default && $this->default->name) { |