Fix pass-by-reference error
This commit is contained in:
parent
a0806ef886
commit
b2666b8357
1 changed files with 4 additions and 2 deletions
|
@ -227,8 +227,10 @@ class kolab_notes extends rcube_plugin
|
|||
|
||||
// attempt to create a default folder for this user
|
||||
if (empty($this->lists)) {
|
||||
$folder = kolab_storage::folder_update(array('name' => 'Notes', 'type' => 'note', 'default' => true, 'subscribed' => true));
|
||||
$this->_read_lists(true);
|
||||
$folder = array('name' => 'Notes', 'type' => 'note', 'default' => true, 'subscribed' => true);
|
||||
if (kolab_storage::folder_update($folder)) {
|
||||
$this->_read_lists(true);
|
||||
}
|
||||
}
|
||||
|
||||
return $this->lists;
|
||||
|
|
Loading…
Add table
Reference in a new issue