Commit f2382c5d authored by Stéphane Bouvry's avatar Stéphane Bouvry
Browse files

Un message a été ajouté pour les comptes orphelins (Sans fiche personne)

parent 2fd63fdd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -37,6 +37,10 @@ class PublicController extends AbstractOscarController
        /** @var Authentification $auth */
        $auth = $this->getOscarUserContext()->getAuthentification();

        if( !$this->getCurrentPerson() ){
            throw new OscarException("Votre compte n'est associé à aucune fiche Personne dans Oscar");
        }

        // Récupération des envois automatiques
        $forceSend = $this->getConfiguration('oscar.notifications.fixed');