Skip to content

Commit

Permalink
[-] BO : Fix Invalid date Exception on AdminCustomers
Browse files Browse the repository at this point in the history
  • Loading branch information
gRoussac committed Jun 18, 2014
1 parent c04dc07 commit 2c1791d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions controllers/admin/AdminCustomersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -711,8 +711,6 @@ public function renderView()

$products = $customer->getBoughtProducts();
$total_products = count($products);
for ($i = 0; $i < $total_products; $i++)
$products[$i]['date_add'] = Tools::displayDate($products[$i]['date_add'], null, false);

$carts = Cart::getCustomerCarts($customer->id);
$total_carts = count($carts);
Expand Down

0 comments on commit 2c1791d

Please sign in to comment.