// Revert normalization

This commit is contained in:
rMalie
2011-08-11 10:20:59 +00:00
parent accec09c98
commit 2bb147128b
48 changed files with 77 additions and 77 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ class CartControllerCore extends FrontController
if ($updateQuantity < 0)
{
/* if product has attribute, minimal quantity is set with minimal quantity of attribute*/
if ($idProductAttribute)
if ((int)$idProductAttribute)
$minimal_quantity = Attribute::getAttributeMinimalQty($idProductAttribute);
else
$minimal_quantity = $producToAdd->minimal_quantity;