From 674430d692172a64f45237a3927a598301351227 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Thu, 3 May 2018 09:41:17 +0200 Subject: [PATCH] Fix error in new ValidatorInterface signature (during person creation) --- Controller/PersonController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controller/PersonController.php b/Controller/PersonController.php index ac79c3add..449fe3e47 100644 --- a/Controller/PersonController.php +++ b/Controller/PersonController.php @@ -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();