From: x2002marichez Date: Wed, 29 Nov 2006 21:34:12 +0000 (+0000) Subject: Fix a date bug while viewing a user who is performing a subscription X-Git-Tag: xorg/0.9.13~253 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=54f962cd8bf04ab2268a7fc39a9ffb195abb027e;p=platal.git Fix a date bug while viewing a user who is performing a subscription git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1201 839d8a87-29fc-0310-9880-83ba4fa771e5 --- 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); }