Changes for module/Soutenance/src/Soutenance/Service/Avis/AvisService.php: 1 added line, 1 removed line.
Original line number
Diff line number
Diff line
@@ -196,7 +196,7 @@ class AvisService {
try{
$result=$qb->getQuery()->getOneOrNullResult();
}catch(NonUniqueResultException$e){
thrownewRuntimeException('Plusieurs avis sont associés au rapporteur ['.$membre->getId().' - '.$membre->getActeur()->getIndividu()->getNomComplet().']');
thrownewRuntimeException('Plusieurs avis sont associés au rapporteur ['.$membre->getId().' - '.$membre->getIndividu()->getNomComplet().']');
@@ -631,8 +631,8 @@ class NotifierSoutenanceService extends NotifierService {
{
if($membre->getActeur()===null)thrownewRuntimeException("Notification vers rapporteur [MembreId = ".$membre->getId()."] impossible car aucun acteur n'est lié.");
if($email===null)thrownewRuntimeException("Notification vers rapporteur [MembreId = ".$membre->getId()."] impossible car aucun email est donné pour l'individu associé [IndividuId = ".$membre->getActeur()->getIndividu()->getId()."].");
$email=$membre->getIndividu()->getEmail();
if($email===null)thrownewRuntimeException("Notification vers rapporteur [MembreId = ".$membre->getId()."] impossible car aucun email est donné pour l'individu associé [IndividuId = ".$membre->getIndividu()->getId()."].");