Fix a date bug while viewing a user who is performing a subscription
authorx2002marichez <x2002marichez@839d8a87-29fc-0310-9880-83ba4fa771e5>
Wed, 29 Nov 2006 21:34:12 +0000 (21:34 +0000)
committerx2002marichez <x2002marichez@839d8a87-29fc-0310-9880-83ba4fa771e5>
Wed, 29 Nov 2006 21:34:12 +0000 (21:34 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1201 839d8a87-29fc-0310-9880-83ba4fa771e5

modules/marketing.php

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);
         }