diff options
-rw-r--r-- | lib/private/Contacts/ContactsMenu/ContactsStore.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Contacts/ContactsMenu/ContactsStore.php b/lib/private/Contacts/ContactsMenu/ContactsStore.php index 112a708f980..002e9940869 100644 --- a/lib/private/Contacts/ContactsMenu/ContactsStore.php +++ b/lib/private/Contacts/ContactsMenu/ContactsStore.php @@ -285,8 +285,8 @@ class ContactsStore implements IContactsStore { $entry = new Entry(); if (isset($contact['UID'])) { - $entry->setId($contact['UID']); $uid = $contact['UID']; + $entry->setId($uid); $avatar = $this->urlGenerator->linkToRouteAbsolute('core.avatar.getAvatar', ['userId' => $uid, 'size' => 64]); $entry->setAvatar($avatar); } |