mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-23 15:41:24 +00:00
Fixed bug
This commit is contained in:
@@ -428,7 +428,6 @@ class Cart {
|
|||||||
protected function updateQty($rowId, $qty)
|
protected function updateQty($rowId, $qty)
|
||||||
{
|
{
|
||||||
if($qty <= 0)
|
if($qty <= 0)
|
||||||
if($qty == 0)
|
|
||||||
{
|
{
|
||||||
return $this->remove($rowId);
|
return $this->remove($rowId);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user