diff --git a/src/Module/Contact/Profile.php b/src/Module/Contact/Profile.php index 84230abb3..0431bd896 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;