Fixed syntax error
This commit is contained in:
parent
34eded2de7
commit
21bdb2a5d3
1 changed files with 192 additions and 192 deletions
|
|
@ -51,7 +51,7 @@ sub handler {
|
||||||
my $theseRegs = $self->session->db->buildArrayRefOfHashRefs("select * from EventManagementSystem_registrations where purchaseId=?",[$purchaseId]);
|
my $theseRegs = $self->session->db->buildArrayRefOfHashRefs("select * from EventManagementSystem_registrations where purchaseId=?",[$purchaseId]);
|
||||||
foreach (@$theseRegs) {
|
foreach (@$theseRegs) {
|
||||||
# clean up the duplicate registrations, if any.
|
# clean up the duplicate registrations, if any.
|
||||||
$self->session->db->write("delete from EventManagementSystem_registrations where badgeId=? and productId=? and registrationId!=?,[$_->{badgeId},$_->{productId},$_->{registrationId}]);
|
$self->session->db->write("delete from EventManagementSystem_registrations where badgeId=? and productId=? and registrationId!=?",[$_->{badgeId},$_->{productId},$_->{registrationId}]);
|
||||||
}
|
}
|
||||||
$self->session->scratch->delete("purchaseId".$counter);
|
$self->session->scratch->delete("purchaseId".$counter);
|
||||||
$counter++;
|
$counter++;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue