[*] BO: Improve customization management on BackOffice orders #PSCFV-4062

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17861 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rGaillard
2012-10-15 13:38:19 +00:00
parent 1562fbe3cc
commit 2cdbdf8919
3 changed files with 37 additions and 7 deletions
+1 -1
View File
@@ -1165,7 +1165,7 @@ class CartCore extends ObjectModel
// refresh cache of self::_products
$this->_products = $this->getProducts(true);
return ($customization_quantity == $product_total_quantity && $this->deleteProduct((int)$id_product, $id_product_attribute, $id_address_delivery));
return ($this->deleteProduct((int)$id_product, $id_product_attribute, $id_address_delivery) && $customization_quantity == $product_total_quantity);
}
/* Get customization quantity */