Fix PHP warning when other users namespace is unset
This commit is contained in:
parent
87abd0d2d4
commit
a4a4abe45d
1 changed files with 2 additions and 2 deletions
|
@ -596,7 +596,7 @@ class kolab_delegation_engine
|
|||
|
||||
if (!empty($delegators)) {
|
||||
$storage = $this->rc->get_storage();
|
||||
$other_ns = $storage->get_namespace('other');
|
||||
$other_ns = $storage->get_namespace('other') ?: array();
|
||||
$folders = $storage->list_folders();
|
||||
}
|
||||
|
||||
|
@ -796,7 +796,7 @@ class kolab_delegation_engine
|
|||
}
|
||||
|
||||
$storage = $this->rc->get_storage();
|
||||
$other_ns = $storage->get_namespace('other');
|
||||
$other_ns = $storage->get_namespace('other') ?: array();
|
||||
$delim = $storage->get_hierarchy_delimiter();
|
||||
|
||||
if ($mode == 'calendars') {
|
||||
|
|
Loading…
Add table
Reference in a new issue