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