From cfeaf0fa36bb3de507e0658b8fc727cc264a19ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Nadaud?= Date: Thu, 25 Jul 2013 08:51:22 +0200 Subject: [PATCH] // norm --- controllers/admin/AdminSupplyOrdersController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/controllers/admin/AdminSupplyOrdersController.php b/controllers/admin/AdminSupplyOrdersController.php index 9c49bcb8c..c9ee41b3f 100644 --- a/controllers/admin/AdminSupplyOrdersController.php +++ b/controllers/admin/AdminSupplyOrdersController.php @@ -1104,9 +1104,8 @@ class AdminSupplyOrdersControllerCore extends AdminController $this->manageOrderProducts(); // if the threshold is defined and we are saving the order - if (Tools::isSubmit('submitAddsupply_order') && Validate::isInt($quantity_threshold)){ + if (Tools::isSubmit('submitAddsupply_order') && Validate::isInt($quantity_threshold)) $this->loadProducts((int)$quantity_threshold); - } } // Manage state change