From 23ecbcbeaa9e464bec5b46d4a4f858805367eb32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Mon, 31 Dec 2012 10:04:53 +0100 Subject: [PATCH] [-] FO: Fix PHP warning on category controller --- controllers/front/CategoryController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/front/CategoryController.php b/controllers/front/CategoryController.php index 808ddd075..bae459f79 100644 --- a/controllers/front/CategoryController.php +++ b/controllers/front/CategoryController.php @@ -199,7 +199,7 @@ class CategoryControllerCore extends FrontController foreach ($this->cat_products as &$product) { - if ($product['id_product_attribute']) + if ($product['id_product_attribute'] && isset($product['product_attribute_minimal_quantity'])) $product['minimal_quantity'] = $product['product_attribute_minimal_quantity']; }