bugfix @)(#$0*()@#%()&$&**&#(@(&*(*&)!#)$*(&!)(*$&^)(!*#&$

This commit is contained in:
Matthew Wilson 2006-05-09 15:17:53 +00:00
parent 2306b38b93
commit 3df5a5bb15

View file

@ -147,7 +147,7 @@ sub priceLineItem {
my $numberOfThisPass = $passesInCart{$passId};
# calculate discount.
if ($pass->{type} eq 'newPrice') {
$discountedPrice = (0 + $pass->{amount}) if ($discountedPrice > (0 + $pass->{amount}));
$discountedPrice = (0 + $pass->{amount}) if ($discountedPrice < (0 + $pass->{amount}));
} elsif ($pass->{type} eq 'amountOff') {
# not yet implemented!
} elsif ($pass->{type} eq 'percentOff') {