fix flushing after person creation

This commit is contained in:
Julien Fastré 2021-10-11 14:31:03 +02:00
parent fe9b76a1fb
commit abedf83dbd

View File

@ -155,7 +155,7 @@ final class PersonController extends AbstractController
$person = $this->_getPerson($person_id);
if ($person === null) {
return $this->createNotFoundException();
throw $this->createNotFoundException();
}
$this->denyAccessUnlessGranted('CHILL_PERSON_UPDATE', $person,