Fixed bug

This commit is contained in:
Rob Gloudemans
2014-03-01 19:56:04 +01:00
parent 30d789f0c0
commit 42f2dddf8e

View File

@@ -428,7 +428,6 @@ class Cart {
protected function updateQty($rowId, $qty)
{
if($qty <= 0)
if($qty == 0)
{
return $this->remove($rowId);
}
@@ -461,4 +460,4 @@ class Cart {
return is_array($first);
}
}
}