mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix flushing after person creation
This commit is contained in:
parent
fe9b76a1fb
commit
abedf83dbd
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user