From 53092def5ca4418c54cceb2788e6abcc30d31ddd Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sat, 13 Dec 2008 13:42:56 +0100 Subject: [PATCH] Login is more explicit than user_id. Signed-off-by: Florent Bruneau --- include/validations.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/validations.inc.php b/include/validations.inc.php index a8f45f7..31078e6 100644 --- a/include/validations.inc.php +++ b/include/validations.inc.php @@ -183,7 +183,7 @@ abstract class Validate $mailer->setFrom("validation+{$this->type}@{$globals->mail->domain}"); $mailer->addTo($globals->core->admin_email); - $body = "Validation {$this->type} pour {$this->user->id()}\n\n" + $body = "Validation {$this->type} pour {$this->user->login()}\n\n" . S::user()->login() . " a ajouté le commentaire :\n\n" . Env::v('comm') . "\n\n" . "cf la discussion sur : " . $globals->baseurl . "/admin/validate"; -- 2.1.4