$this->config = $config;
}
- protected function post(array $request = [], array $post = [])
+ protected function post(array $request = [])
{
if (!local_user()) {
return;
$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;