Fix banana profile update
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Fri, 19 Oct 2007 21:28:22 +0000 (23:28 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sat, 20 Oct 2007 12:14:22 +0000 (14:14 +0200)
modules/banana.php

index 640012d..63ce688 100644 (file)
@@ -79,7 +79,7 @@ class BananaModule extends PLModule
 
         if (!(Post::has('action') && Post::has('banananame') && Post::has('bananasig')
         && Post::has('bananadisplay') && Post::has('bananamail')
-        && Post::has('bananaupdate') && Post::v('action')=="OK" ))
+        && Post::has('bananaupdate') && Post::v('action')=="Enregistrer" ))
         {
             $req = XDB::query("
                 SELECT  nom, mail, sig,