Use user-specific id to fetch the list of group appartenance in Module\Contact\Profile
This commit is contained in:
parent
75f0c58c5f
commit
c2df5d66d7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user