This commit is contained in:
Jérôme Nadaud committed 2013-07-25 08:51:22 +02:00
1 parent 7b980217b5
commit cfeaf0fa36
1 file changed
+1 -2
@@ -1104,10 +1104,9 @@ 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
if (Tools::isSubmit('submitChangestate') if (Tools::isSubmit('submitChangestate')