so we can delete from cart.
This commit is contained in:
parent
f15864674b
commit
694bd85740
1 changed files with 5 additions and 0 deletions
|
|
@ -2072,6 +2072,11 @@ sub www_addEventsToBadge {
|
|||
$self->session->scratch->set('currentMainEvent',$eventId);
|
||||
$self->session->scratch->set('currentBadgeId',$bid);
|
||||
return $self->www_search();
|
||||
} else {
|
||||
my $purchaseCounter = $self->session->form->process('purchaseCounter');
|
||||
if ($purchaseCounter ne "") {
|
||||
$self->session->scratch->delete('purchaseId',$purchaseCounter);
|
||||
}
|
||||
}
|
||||
return $self->www_resetScratchCart();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue