This commit is contained in:
Jérôme Nadaud
2013-07-25 08:51:22 +02:00
parent 7b980217b5
commit cfeaf0fa36
@@ -1104,9 +1104,8 @@ class AdminSupplyOrdersControllerCore extends AdminController
$this->manageOrderProducts(); $this->manageOrderProducts();
// if the threshold is defined and we are saving the order // 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); $this->loadProducts((int)$quantity_threshold);
}
} }
// Manage state change // Manage state change