mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-30 19:52:17 +01:00
Contacts: Fix copy/paste mistake.
This commit is contained in:
parent
b5a0bbb7aa
commit
7047e3e7b3
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user