X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Flists.php;h=5587714afcc3bab30701252100d5518cb788eb53;hb=1dd218522cea6ae08998b0ca107c8fec608ddce8;hp=1c93980c2a0076259c679f4293f8f72e12dfe65d;hpb=2ca5f0311c9b28e96bf3372435f8f82ae5dbe61f;p=platal.git diff --git a/modules/lists.php b/modules/lists.php index 1c93980..5587714 100644 --- a/modules/lists.php +++ b/modules/lists.php @@ -512,8 +512,7 @@ class ListsModule extends PLModule $mailer->addTo("$liste-owner@{$domain}"); $mailer->addHeader('Reply-To', "$liste-owner@{$domain}"); $mailer->setSubject("L'inscription de {$sub['name']} a été $info"); - $text = "L'inscription de {$sub['name']} à la liste $liste@{$domain} a été $info par " . S::v('prenom') . ' ' - . S::v('nom') . '(' . S::v('promo') . ")\n"; + $text = "L'inscription de {$sub['name']} à la liste $liste@{$domain} a été $info par " . S::user()->fullName(true) . ".\n"; if (trim(Post::v('reason'))) { $text .= "\nLa raison invoquée est :\n" . Post::v('reason'); }