fixed last problem. cart works !!!!

This commit is contained in:
JT Smith 2008-02-26 18:40:58 +00:00
parent e3be583b20
commit b90a8437a7

View file

@ -139,7 +139,7 @@ If specified may increment quantity by more than one. Specify a negative number
sub incrementQuantity {
my ($self, $quantity) = @_;
$quantity ||= 1;
my $id = $self;
my $id = id $self;
if ($self->get("quantity") + $quantity > $self->getSku->getMaxAllowedInCart) {
croak "Cannot have that many in cart.";
}