mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-30 19:52:17 +01:00
Used non-existing variable.
This commit is contained in:
parent
bd365e0910
commit
674a4572c5
@ -41,7 +41,7 @@ class OC_Share_Backend_Addressbook implements OCP\Share_Backend_Collection {
|
||||
public function generateTarget($itemSource, $shareWith, $exclude = null) {
|
||||
$addressbook = OC_Contacts_Addressbook::find( $itemSource );
|
||||
$user_addressbooks = array();
|
||||
foreach(OC_Contacts_Addressbook::all($uid) as $user_addressbook) {
|
||||
foreach(OC_Contacts_Addressbook::all($shareWith) as $user_addressbook) {
|
||||
$user_addressbooks[] = $user_addressbook['displayname'];
|
||||
}
|
||||
$name = $addressbook['userid']."'s ".$addressbook['displayname'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user