mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-14 01:09:41 +00:00
Fix error in new ValidatorInterface signature (during person creation)
This commit is contained in:
@@ -198,7 +198,7 @@ class PersonController extends Controller
|
|||||||
private function _validatePersonAndAccompanyingPeriod(Person $person)
|
private function _validatePersonAndAccompanyingPeriod(Person $person)
|
||||||
{
|
{
|
||||||
$errors = $this->get('validator')
|
$errors = $this->get('validator')
|
||||||
->validate($person, array('creation'));
|
->validate($person, null, array('creation'));
|
||||||
|
|
||||||
//validate accompanying periods
|
//validate accompanying periods
|
||||||
$periods = $person->getAccompanyingPeriods();
|
$periods = $person->getAccompanyingPeriods();
|
||||||
|
Reference in New Issue
Block a user