[CORE][Actor][Settings] Fix nickname change and refactor Core Form::handle so it's harder to repeat these mistakes again

Minor improvements on actor->getLocal
This commit is contained in:
2022-02-15 21:16:58 +00:00
parent 397b54a207
commit f66e178dfc
7 changed files with 72 additions and 22 deletions

View File

@@ -99,7 +99,7 @@ class Group extends Controller
return [
'_template' => 'group/settings.html.twig',
'group' => $group_actor,
'personal_info_form' => ActorForms::personalInfo($request, $actor, $local_group)->createView(),
'personal_info_form' => ActorForms::personalInfo(request: $request, scope: $actor, target: $group_actor)->createView(),
'open_details_query' => $this->string('open'),
];
} else {