From c0802ca6a9803935c080d62afac59875d48b56c2 Mon Sep 17 00:00:00 2001 From: Florian Lefevre Date: Fri, 11 Apr 2014 13:05:34 +0200 Subject: [PATCH] correctif #118 --- src/mgate/PersonneBundle/Controller/MembreController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mgate/PersonneBundle/Controller/MembreController.php b/src/mgate/PersonneBundle/Controller/MembreController.php index f1b00e308..6d4395e27 100644 --- a/src/mgate/PersonneBundle/Controller/MembreController.php +++ b/src/mgate/PersonneBundle/Controller/MembreController.php @@ -296,8 +296,8 @@ private function enMinusculeSansAccent($texte){ */ public function getEmailEtu($membre) { $junior = $this->container->getParameter('junior'); - $emailEtu = array_key_exists('domaineEmailEtu', $junior) ? $junior['domaineEmailEtu'] : '@'; - $emailAncien = array_key_exists('domaineEmailAncien', $junior) ? $junior['domaineEmailAncien'] : '@'; + $emailEtu = array_key_exists('domaineEmailEtu', $junior) ? '@'.$junior['domaineEmailEtu'] : '@'; + $emailAncien = array_key_exists('domaineEmailAncien', $junior) ? '@'.$junior['domaineEmailAncien'] : '@'; $now = new \DateTime("now"); $now = (int) $now->format("Y");