bugfix
This commit is contained in:
parent
be892b1d1d
commit
e465a88c70
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ sub priceLineItem {
|
||||||
my $numberOfPasses = 0;
|
my $numberOfPasses = 0;
|
||||||
# find out if we have any of this pass's events in our cart.
|
# find out if we have any of this pass's events in our cart.
|
||||||
foreach my $item (@$cartItems) {
|
foreach my $item (@$cartItems) {
|
||||||
$numberOfPasses += $item->{item}->{_event}->{productId} if (
|
$numberOfPasses += $item->{quantity} if (
|
||||||
$item->{item}->type eq 'Event'
|
$item->{item}->type eq 'Event'
|
||||||
&& isIn($item->{item}->{_event}->{productId},@passEvents)
|
&& isIn($item->{item}->{_event}->{productId},@passEvents)
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue