From 06413abad553311cf003c325cc4d2e26e1e3cd30 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 22 Feb 2018 15:54:25 +0100 Subject: [PATCH] Fix var --- adm/tabs/AdminOrders.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/adm/tabs/AdminOrders.php b/adm/tabs/AdminOrders.php index b3bcf046..a54d28ac 100755 --- a/adm/tabs/AdminOrders.php +++ b/adm/tabs/AdminOrders.php @@ -813,10 +813,10 @@ class AdminOrders extends AdminTab $orderProducts = $order->getProductsDetail(); // Check line $refundIsFull = false; - if (count($orderProducts) == count($orderSlipDetail)) { + if (count($orderProducts) == count($refundDetail)) { $refundIsFull = true; foreach($orderProducts as $k => $line) { - if ($line['product_quantity'] != $orderSlipDetail[$line['id_order_detail']]['product_quantity']) { + if ($line['product_quantity'] != $refundDetail[$line['id_order_detail']]['product_quantity']) { $refundIsFull = false; break; } @@ -860,9 +860,7 @@ class AdminOrders extends AdminTab $product_ids[] = (int) $row['product_id']; } - /** - * @Override Philea - */ + // @Override Philea if (Db::getInstance()->getRow(' SELECT * FROM `'._DB_PREFIX_.'philea_parcel`