Login is more explicit than user_id.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sat, 13 Dec 2008 12:42:56 +0000 (13:42 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sat, 13 Dec 2008 12:42:56 +0000 (13:42 +0100)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
include/validations.inc.php

index a8f45f7..31078e6 100644 (file)
@@ -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";