From a94c4b3946127ffadc83974ee09d5b629280d84b Mon Sep 17 00:00:00 2001 From: x2003bruneau Date: Wed, 29 Nov 2006 23:09:37 +0000 Subject: [PATCH] [1200] and [1201] => prod git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.12@1203 839d8a87-29fc-0310-9880-83ba4fa771e5 --- modules/admin.php | 2 +- modules/auth.php | 4 ++-- modules/marketing.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/admin.php b/modules/admin.php index c47ccfa..b0ac1ef 100644 --- a/modules/admin.php +++ b/modules/admin.php @@ -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) { diff --git a/modules/auth.php b/modules/auth.php index 891a054..585b58a 100644 --- a/modules/auth.php +++ b/modules/auth.php @@ -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; } diff --git a/modules/marketing.php b/modules/marketing.php index 1986568..842a8c3 100644 --- a/modules/marketing.php +++ b/modules/marketing.php @@ -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); } -- 2.1.4