1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-29 18:52:18 +01:00

Contacts: Fix copy/paste mistake.

This commit is contained in:
Thomas Tanghus 2013-02-27 02:46:48 +01:00
parent b5a0bbb7aa
commit 7047e3e7b3

View File

@ -355,7 +355,7 @@ class VCard {
$addressbook_permissions = $sharedAddressbook['permissions'];
}
if ($sharedContact) {
$contact_permissions = $sharedEvent['permissions'];
$contact_permissions = $sharedContact['permissions'];
}
$permissions = max($addressbook_permissions, $contact_permissions);
if (!($permissions & \OCP\PERMISSION_UPDATE)) {
@ -467,7 +467,7 @@ class VCard {
$addressbook_permissions = $sharedAddressbook['permissions'];
}
if ($sharedContact) {
$contact_permissions = $sharedEvent['permissions'];
$contact_permissions = $sharedContact['permissions'];
}
$permissions = max($addressbook_permissions, $contact_permissions);