fix: error on warning interval was not shown

This commit is contained in:
2018-11-21 14:25:44 +01:00
parent 407effed39
commit b2add2539c
3 changed files with 7 additions and 1 deletions

View File

@@ -72,7 +72,7 @@ class SingleTaskController extends Controller
$form = $this->setCreateForm($task, new Role(TaskVoter::CREATE));
$form->handleRequest($request);
if ($form->isSubmitted()) {
if ($form->isValid()) {
$em = $this->getDoctrine()->getManager();