Commit 62ad928a authored by Julien Minet's avatar Julien Minet

fix error due to removing of deprecated getName method

parent 7227b89d
Pipeline #47443 passed with stages
in 6 minutes and 2 seconds
......@@ -225,7 +225,8 @@ class PersonController extends Controller
}
$form = $this->createForm(
CreationPersonType::NAME,
//CreationPersonType::NAME,
CreationPersonType::class,
new Person(),
array(
'action' => $this->generateUrl('chill_person_create'),
......@@ -324,7 +325,7 @@ class PersonController extends Controller
return $r;
}
$form = $this->createForm(CreationPersonType::NAME, null, array(
$form = $this->createForm(CreationPersonType::class, null, array(
'form_status' => CreationPersonType::FORM_REVIEWED
));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment