[-] MO : Not correct display of "date_add" for the discounts

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@6148 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
gBrunier
2011-05-03 08:53:37 +00:00
parent 1499e8bf94
commit fbe279894a
+1 -2
View File
@@ -131,7 +131,6 @@ if ($ids_discount = LoyaltyModule::getDiscountByIdCustomer((int)($cookie->id_cus
foreach ($ids_discount AS $key => $discount)
{
$discounts[$key] = new Discount((int)$discount['id_discount'], (int)($cookie->id_lang));
$discounts[$key]->date_add = $discount['date_add'];
$discounts[$key]->orders = LoyaltyModule::getOrdersByIdDiscount((int)$discount['id_discount']);
}
}
@@ -166,4 +165,4 @@ $smarty->assign(array(
echo Module::display(dirname(__FILE__).'/loyalty.php', 'loyalty.tpl');
include(dirname(__FILE__).'/../../footer.php');
include(dirname(__FILE__).'/../../footer.php');