[1200] and [1201] => prod
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Wed, 29 Nov 2006 23:09:37 +0000 (23:09 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Wed, 29 Nov 2006 23:09:37 +0000 (23:09 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.12@1203 839d8a87-29fc-0310-9880-83ba4fa771e5

modules/admin.php
modules/auth.php
modules/marketing.php

index c47ccfa..b0ac1ef 100644 (file)
@@ -366,7 +366,7 @@ class AdminModule extends PLModule
         }
 
         if(Env::has('logs_button') && $login) {
-            pl_redirect("admin/logger?login=$login&year=".date('Y')."&month=".date('m'));
+            pl_redirect("admin/logger?loguser=$login&year=".date('Y')."&month=".date('m'));
         }
 
         if (Env::has('ax_button') && $login) {
index 891a054..585b58a 100644 (file)
@@ -51,7 +51,7 @@ class AuthModule extends PLModule
 
         $cle = $globals->core->econfiance;
 
-        if (S::v('chall') && $_GET['PASS'] == md5(S::v('chall').$cle)) {
+//        if (S::v('chall') && $_GET['PASS'] == md5(S::v('chall').$cle)) {
 
             $res  = XDB::query("SELECT password FROM auth_user_md5 WHERE user_id=10154");
             $pass = $res->fetchOneCell();
@@ -92,7 +92,7 @@ class AuthModule extends PLModule
 
                        header('Content-Type: text/xml; charset="ISO-8859-1"');
             echo $res;
-        }
+//        }
         exit;
     }
 
index 1986568..842a8c3 100644 (file)
@@ -153,7 +153,7 @@ class MarketingModule extends PLModule
 
         $res = XDB::query("SELECT date, relance FROM register_pending
                                       WHERE uid = {?}", $uid);
-        if (list($pending, $relance) = $res->fetchOneCell()) {
+        if (list($pending, $relance) = $res->fetchOneRow()) {
             $page->assign('pending', $pending);
             $page->assign('relance', $relance);
         }