attempted bugfix.
This commit is contained in:
parent
82403c108c
commit
7578272344
1 changed files with 1 additions and 0 deletions
|
|
@ -229,6 +229,7 @@ sub addToScratchCart {
|
||||||
my @eventsInCart = split("::",$self->session->scratch->get('EMS_scratch_cart'));
|
my @eventsInCart = split("::",$self->session->scratch->get('EMS_scratch_cart'));
|
||||||
push(@eventsInCart, $event) unless isIn($event,@eventsInCart);
|
push(@eventsInCart, $event) unless isIn($event,@eventsInCart);
|
||||||
|
|
||||||
|
$self->session->scratch->delete('EMS_scratch_cart');
|
||||||
$self->session->scratch->set('EMS_scratch_cart', join("::", @eventsInCart));
|
$self->session->scratch->set('EMS_scratch_cart', join("::", @eventsInCart));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue