fix translation, disable throw exception

This commit is contained in:
2022-01-04 11:18:56 +01:00
parent 6a0ce72836
commit 5fead5b467
3 changed files with 6 additions and 4 deletions

View File

@@ -55,9 +55,10 @@ class AccompanyingCourseCommentController extends AbstractController
}
}
if (null === $editForm) {
throw new NotFoundHttpException('Unable to find an edit form.');
}
dump($editForm);
//if (null === $editForm) {
// throw new NotFoundHttpException('Unable to find an edit form.');
//}
if ($request->getMethod() === Request::METHOD_POST) {
$currentForm = $editForm->handleRequest($request);