Commit 943cd9f3 authored by Mat's avatar Mat

fix validation context and upgrade sf3

cfr commit 193460a9
parent 7dfbe88c
Pipeline #81322 failed with stages
in 1 minute and 20 seconds
......@@ -251,9 +251,9 @@ class AccompanyingPeriodController extends Controller
* @return \Symfony\Component\Validator\ConstraintViolationListInterface
private function _validatePerson(Person $person) {
$errors = $this->get('validator')->validate($person,
$errors = $this->get('validator')->validate($person, null,
$errors_accompanying_period = $this->get('validator')->validate($person,
$errors_accompanying_period = $this->get('validator')->validate($person, null,
foreach($errors_accompanying_period as $error ) {
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