Commit 674430d6 authored by Julien Fastré's avatar Julien Fastré

Fix error in new ValidatorInterface signature (during person creation)

parent c847be85
......@@ -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();
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