This commit is contained in:
Matthew Wilson 2006-05-13 15:29:39 +00:00
parent 1fce91669d
commit 3cc187e91c

View file

@ -2115,7 +2115,7 @@ sub removePurchaseFromCart {
foreach my $event (@eventsToSubtract) {
foreach my $item (@$items) {
if ($item->{item}->{_event}->{productId} eq $event) {
$shoppingCart->setQuantity($event,'Event',($item->{item} - 1));
$shoppingCart->setQuantity($event,'Event',($item->{quantity} - 1));
}
}
}