Loading module/Evenementiel/src/Controller/InscriptionController.php +5 −0 Changes for module/Evenementiel/src/Controller/InscriptionController.php: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -164,6 +164,11 @@ class InscriptionController extends AbstractActionController if ($inscription->getEvenement() !== null and $inscription->getParticipant() !== null and $inscription->getParticipant()->getId() != -1) { if ($this->getEvenementService()->estModifiableInscription($inscription)) { if($inscription->getNombrePlacesPointees() >= 0) { $this->flashMessenger()->addErrorMessage("Impossible de modifier cette inscription : le pointage a commencé."); exit(); } $this->getInscriptionService()->update($inscription); switch ($inscription->getListe()) { case Inscription::PRINCIPALE : Loading Loading
module/Evenementiel/src/Controller/InscriptionController.php +5 −0 Changes for module/Evenementiel/src/Controller/InscriptionController.php: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -164,6 +164,11 @@ class InscriptionController extends AbstractActionController if ($inscription->getEvenement() !== null and $inscription->getParticipant() !== null and $inscription->getParticipant()->getId() != -1) { if ($this->getEvenementService()->estModifiableInscription($inscription)) { if($inscription->getNombrePlacesPointees() >= 0) { $this->flashMessenger()->addErrorMessage("Impossible de modifier cette inscription : le pointage a commencé."); exit(); } $this->getInscriptionService()->update($inscription); switch ($inscription->getListe()) { case Inscription::PRINCIPALE : Loading