summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Xheli <axheli@axtsolutions.com>2022-09-20 12:05:29 -0500
committerVincent Petry (Rebase PR Action) <PVince81@users.noreply.github.com>2022-10-27 10:04:06 +0000
commit053a4bdf1f4d42b60f8dc8bba8419caea94ce8dd (patch)
tree9a51363db8c7e32f1d1751b0ed21fa49905b2211
parenta5be8ddf6dddaef60063abf1450cb88fbc367249 (diff)
downloadnextcloud-server-053a4bdf1f4d42b60f8dc8bba8419caea94ce8dd.tar.gz
nextcloud-server-053a4bdf1f4d42b60f8dc8bba8419caea94ce8dd.zip
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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Contacts/ContactsMenu/ContactsStore.php b/lib/private/Contacts/ContactsMenu/ContactsStore.php
index cde6441bc67..4a8e699ae0e 100644
--- a/lib/private/Contacts/ContactsMenu/ContactsStore.php
+++ b/lib/private/Contacts/ContactsMenu/ContactsStore.php
@@ -313,8 +313,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);
}