This commit is contained in:
Matthew Wilson 2006-05-13 14:11:48 +00:00
parent 2df5360619
commit 77730835e8

View file

@ -2093,7 +2093,7 @@ sub www_addEventsToBadge {
my ($items, $nothing) = $shoppingCart->getItems;
foreach my $event (@eventsToSubtract) {
foreach my $item (@$items) {
if ($item->{item}->{productId} eq $event}) {
if ($item->{item}->{productId} eq $event) {
$shoppingCart->setQuantity($event,'Event',($item->{item} - 1));
}
}