fix that annoying thing
This commit is contained in:
parent
5d64ca0e5d
commit
0069304788
1 changed files with 1 additions and 1 deletions
|
|
@ -1322,7 +1322,7 @@ sub www_addToCart {
|
|||
if (scalar(@$errors) > 0) { return $self->error($errors, "www_addToCart"); }
|
||||
|
||||
unless ($output) {
|
||||
return $self->saveRegistration;
|
||||
return $self->saveRegistration if scalar($self->getEventsInScratchCart);
|
||||
}
|
||||
}
|
||||
# $self->session->errorHandler->warn("scratch after: <pre>".Dumper($self->getEventsInScratchCart).Dumper($self->session->db->buildHashRef("select name,value from userSessionScratch where sessionId=?",[$self->session->getId]))."</pre>");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue