Fix regression in handling contact groups
This commit is contained in:
parent
e1a4152820
commit
f3d4dadffd
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ class kolab_storage_folder extends kolab_storage_folder_api
|
||||||
$content_type = kolab_format::KTYPE_PREFIX . $object_type;
|
$content_type = kolab_format::KTYPE_PREFIX . $object_type;
|
||||||
|
|
||||||
// check object type header and abort on mismatch
|
// check object type header and abort on mismatch
|
||||||
if ($type != '*' && strpos($object_type, $type) !== 0) {
|
if ($type != '*' && strpos($object_type, $type) !== 0 && !($object_type == 'distribution-list' && $type == 'contact')) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue