Fix default config folder selection (list is not indexed anymore)
This commit is contained in:
parent
50b3b8e766
commit
dbe7352ce1
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue