Skip to content

Commit 546e5fe

Browse files
fixup! fix(carddav): Check enumeration settings for all SAB methods
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
1 parent 568ddbb commit 546e5fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/dav/lib/CardDAV/SystemAddressbook.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function getChildren() {
9292
// Should never happen because we don't allow anonymous access
9393
return [];
9494
}
95-
if (!$shareEnumeration || !($shareEnumerationGroup && $shareEnumerationPhone)) {
95+
if (!$shareEnumeration || (!$shareEnumerationGroup && $shareEnumerationPhone)) {
9696
$name = SyncService::getCardUri($user);
9797
try {
9898
return [parent::getChild($name)];

0 commit comments

Comments
 (0)