From: Florent Bruneau Date: Mon, 15 Oct 2007 20:31:28 +0000 (+0200) Subject: Fix validation comment emails X-Git-Tag: xorg/0.9.16~278 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=b9c5309042c64aaa0bf61a367dba41e195079d1b;p=platal.git Fix validation comment emails Signed-off-by: Florent Bruneau --- diff --git a/include/validations.inc.php b/include/validations.inc.php index 81c3041..536975f 100644 --- a/include/validations.inc.php +++ b/include/validations.inc.php @@ -184,10 +184,10 @@ abstract class Validate // envoi d'un mail à hotliners global $globals; - $mailer = new PlMailer; + $mailer = new PlMailer(); $mailer->setSubject("Commentaires de validation {$this->type}"); $mailer->setFrom("validation+{$this->type}@{$globals->mail->domain}"); - $mailer->addTo($globals->core->admin_emails); + $mailer->addTo($globals->core->admin_email); $body = "Validation {$this->type} pour {$this->prenom} {$this->nom}\n\n" . S::v('bestalias')." a ajouté le commentaire :\n\n"