This commit is contained in:
Matthew Wilson 2006-05-09 14:52:39 +00:00
parent be892b1d1d
commit e465a88c70

View file

@ -125,7 +125,7 @@ sub priceLineItem {
my $numberOfPasses = 0;
# find out if we have any of this pass's events in our cart.
foreach my $item (@$cartItems) {
$numberOfPasses += $item->{item}->{_event}->{productId} if (
$numberOfPasses += $item->{quantity} if (
$item->{item}->type eq 'Event'
&& isIn($item->{item}->{_event}->{productId},@passEvents)
);