Commit f8afd882 by Damien Moulard

fix label alerte modif infos adhérent

parent b3a29b2e
...@@ -40,7 +40,7 @@ class UserAdherentController extends FluxController ...@@ -40,7 +40,7 @@ class UserAdherentController extends FluxController
$this->em->flush(); $this->em->flush();
$this->addFlash( $this->addFlash(
'success', 'success',
$this->translator->trans('Infos du prestataire modifiée !') $this->translator->trans('Infos de l\'adhérent modifiées !')
); );
$referer = $request->headers->get('referer'); $referer = $request->headers->get('referer');
if ($referer && !$request->isXmlHttpRequest()) { if ($referer && !$request->isXmlHttpRequest()) {
......
...@@ -37,7 +37,7 @@ class UserPrestataireController extends FluxController ...@@ -37,7 +37,7 @@ class UserPrestataireController extends FluxController
$this->em->flush(); $this->em->flush();
$this->addFlash( $this->addFlash(
'success', 'success',
$this->translator->trans('Infos du prestataire modifiée !') $this->translator->trans('Infos du prestataire modifiées !')
); );
$referer = $request->headers->get('referer'); $referer = $request->headers->get('referer');
if ($referer && !$request->isXmlHttpRequest()) { if ($referer && !$request->isXmlHttpRequest()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment