Skip to content

Commit

Permalink
fix basket
Browse files Browse the repository at this point in the history
  • Loading branch information
jirisvoboda committed Aug 5, 2015
1 parent e4f4b96 commit 21efe9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Basket.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ protected function addItem(BasketItemInterface $item)

if ($this->items[$id]->getQuantity() < 1)
{
$this->remove($id);
$this->remove($item);
}
}

Expand Down

0 comments on commit 21efe9d

Please sign in to comment.