summaryrefslogtreecommitdiff
path: root/lib/Kolab/CardDAV/AddressBook.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kolab/CardDAV/AddressBook.php')
-rw-r--r--lib/Kolab/CardDAV/AddressBook.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kolab/CardDAV/AddressBook.php b/lib/Kolab/CardDAV/AddressBook.php
index 23e4080..285ed9c 100644
--- a/lib/Kolab/CardDAV/AddressBook.php
+++ b/lib/Kolab/CardDAV/AddressBook.php
@@ -112,7 +112,7 @@ class AddressBook extends \Sabre\CardDAV\AddressBook implements \Sabre\CardDAV\I
);
$owner = $this->getOwner();
- $is_owner = $owner == $this->calendarInfo['principaluri'];
+ $is_owner = $owner == $this->addressBookInfo['principaluri'];
if ($is_owner || strpos($rights, 'i') !== false) {
$acl[] = array(