mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
fix error due to removing of deprecated getName method
This commit is contained in:
parent
7227b89d4f
commit
62ad928a66
@ -225,7 +225,8 @@ class PersonController extends Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
$form = $this->createForm(
|
$form = $this->createForm(
|
||||||
CreationPersonType::NAME,
|
//CreationPersonType::NAME,
|
||||||
|
CreationPersonType::class,
|
||||||
new Person(),
|
new Person(),
|
||||||
array(
|
array(
|
||||||
'action' => $this->generateUrl('chill_person_create'),
|
'action' => $this->generateUrl('chill_person_create'),
|
||||||
@ -324,7 +325,7 @@ class PersonController extends Controller
|
|||||||
return $r;
|
return $r;
|
||||||
}
|
}
|
||||||
|
|
||||||
$form = $this->createForm(CreationPersonType::NAME, null, array(
|
$form = $this->createForm(CreationPersonType::class, null, array(
|
||||||
'form_status' => CreationPersonType::FORM_REVIEWED
|
'form_status' => CreationPersonType::FORM_REVIEWED
|
||||||
));
|
));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user