backport
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Sat, 29 Jan 2005 11:17:38 +0000 (11:17 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:27:55 +0000 (23:27 +0200)
Patches applied:

 * opensource@polytechnique.org--2005/platal--release--0.9.4--patch-7
   minor problem wrt NL validation

git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-408

include/validations/nl.inc.php

index e7b17ed..ac22b5d 100644 (file)
@@ -59,9 +59,9 @@ class NLReq extends Validate
     function _mail_body($isok)
     {
         if ($isok) {
-            return "  L'annonce que tu avais proposée ({$this->title}) vient d'être validée.";
+            return '  L\'article que tu avais proposée ('.$this->art->title().') vient d\'être validé.';
         } else {
-            return "  L'annonce que tu avais proposée ({$this->title}) a été refusée.";
+            return '  L\'article que tu avais proposée ('.$this->art->title().') a été refusé.';
         }
     }