diff options
author | Andy Xheli <axheli@axtsolutions.com> | 2022-09-20 20:05:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-20 20:05:29 +0300 |
commit | 2cff329188fc1e0a5c42a8ef3958a337d38d7981 (patch) | |
tree | 5e5094778909ad976c59b2d463e386548aceb76a | |
parent | e661d3cc99d4d3b7810da0b2636286725d13efb1 (diff) |
Update lib/private/Contacts/ContactsMenu/ContactsStore.php
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
Tested no issues.
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
-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); } |