Changes for src/UnicaenPrivilege/Service/Privilege/PrivilegeService.php: 1 added line, 1 removed line.
Original line number
Diff line number
Diff line
@@ -194,7 +194,7 @@ class PrivilegeService implements PrivilegeProviderInterface, ResourceProviderIn
}
try{
$this->getEntityManager()->flush($privilege);
$this->getEntityManager()->flush();
}catch(ORMException$e){
thrownewRuntimeException("Un problème est survenu lors du changement de privilège \"".$privilege->getLibelle()."\" pour le rôle \"".$role->getLibelle()."\".",$e);