Forgotten files in last commit
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Fri, 2 Feb 2007 22:43:41 +0000 (22:43 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Fri, 2 Feb 2007 22:43:41 +0000 (22:43 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1471 839d8a87-29fc-0310-9880-83ba4fa771e5

include/banana/ml.inc.php
include/banana/moderate.inc.php

index 884a788..134c34a 100644 (file)
@@ -65,9 +65,9 @@ class MLBanana extends Banana
         Banana::$msgedit_headers['X-Org-Mail'] = S::v('forlife') . '@' . $globals->mail->domain;
 
         // Build user profile
-        Banana::$profile['headers']['From']         = utf8_encode("$nom <$mail>");
+        Banana::$profile['headers']['From']         = "$nom <$mail>";
         Banana::$profile['headers']['Organization'] = 'Utilisateur de Polytechnique.org';
-        Banana::$profile['signature']               = utf8_encode($sig);
+        Banana::$profile['signature']               = $sig;
         
         // Page design
         Banana::$page->killPage('forums');
index 35077c5..3dccaaf 100644 (file)
@@ -90,7 +90,7 @@ class ModerationPage extends BananaPage
     {
         global $page;
         if ($page) {
-            $page->trig(utf8_decode($msg));
+            $page->trig($msg);
         }
         return true;
     }