diff --git a/src/Module/Contact/Profile.php b/src/Module/Contact/Profile.php index e58c329f2..fb67eb04c 100644 --- a/src/Module/Contact/Profile.php +++ b/src/Module/Contact/Profile.php @@ -208,7 +208,7 @@ class Profile extends BaseModule $groups_widget = ''; if (!in_array($localRelationship->rel, [Contact::NOTHING, Contact::SELF])) { - $groups_widget = Group::sidebarWidget('contact', 'group', 'full', 'everyone', $contact['id']); + $groups_widget = Group::sidebarWidget('contact', 'group', 'full', 'everyone', $data['user']); } $this->page['aside'] .= $vcard_widget . $groups_widget;