wrong var

This commit is contained in:
Matthew Wilson 2006-05-13 10:42:32 +00:00
parent 665f39319f
commit 34cff11181

View file

@ -1406,7 +1406,7 @@ sub www_checkout {
#-------------------------------------------------------------------
sub www_emptyCart {
my $self = shift;
my $shoppingCart = WebGUI::Commerce::ShoppingCart->new($session);
my $shoppingCart = WebGUI::Commerce::ShoppingCart->new($self->session);
$shoppingCart->empty;
return $self->www_view();
}