Fixed display of folders in activesync ui
An empty array is expected, we just need to check if the key exists.
This commit is contained in:
parent
6405635710
commit
5a833866c7
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ class kolab_activesync_ui
|
|||
$type = 'mail';
|
||||
}
|
||||
|
||||
if (!empty($folder_groups[$type])) {
|
||||
if (array_key_exists($type, $folder_groups)) {
|
||||
$folder_groups[$type][] = $folder;
|
||||
|
||||
if ($device_force_subscriptions && array_key_exists($folder, $device_force_subscriptions)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue