From e017b499b5718874ce09a008bcf546472024c68b Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Wed, 26 Oct 2011 13:35:08 +0200 Subject: [PATCH] Adds brief summary of account details in registration email warning. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- modules/register.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/register.php b/modules/register.php index 9cd2cae..fd9bdd3 100644 --- a/modules/register.php +++ b/modules/register.php @@ -276,7 +276,9 @@ class RegisterModule extends PLModule $_SESSION['subState'] = $subState->dict(); if (count($alert)) { - $alert_details = "Détails des alertes :" . $alert_details . "\n\n\n"; + $alert_details = "Détails des alertes :" . $alert_details . "\n\n"; + $alert_details .= 'Compte concerné : ' . $subState->s('forlife') . ' (redirection vers : ' + . ($subState->s('email') == '' ? Post::t('email') : $subState->s('email')). ")\n\n\n"; send_warning_mail(implode(' - ', $alert), $alert_details); } -- 2.1.4