more debug
This commit is contained in:
parent
d05c0422cd
commit
342a7c3ce3
1 changed files with 1 additions and 1 deletions
|
|
@ -1350,11 +1350,11 @@ sub addCartVars {
|
||||||
$var->{'cart.purchaseLoop'} = [];
|
$var->{'cart.purchaseLoop'} = [];
|
||||||
for (my $i = 0;$i < 25;$i++) {
|
for (my $i = 0;$i < 25;$i++) {
|
||||||
my $purchase = {};
|
my $purchase = {};
|
||||||
|
$self->session->errorHandler->warn("got here!");
|
||||||
$purchase->{purchaseId} = $self->session->scratch->get("purchaseId".$i);
|
$purchase->{purchaseId} = $self->session->scratch->get("purchaseId".$i);
|
||||||
next unless $purchase->{purchaseId};
|
next unless $purchase->{purchaseId};
|
||||||
# so we don't show the badge we're currently editing
|
# so we don't show the badge we're currently editing
|
||||||
next if ($i eq $self->session->scratch->get("currentPurchaseCounter"));
|
next if ($i eq $self->session->scratch->get("currentPurchaseCounter"));
|
||||||
$self->session->errorHandler->warn("got here!");
|
|
||||||
my $theseRegs = $self->session->db->buildArrayRefOfHashRefs("select r.*, p.price, q.passId, q.passType from EventManagementSystem_registrations as r, EventManagementSystem_products as q, products as p where r.purchaseId=? and p.productId=r.productId and q.productId=r.productId",[$purchase->{purchaseId}]);
|
my $theseRegs = $self->session->db->buildArrayRefOfHashRefs("select r.*, p.price, q.passId, q.passType from EventManagementSystem_registrations as r, EventManagementSystem_products as q, products as p where r.purchaseId=? and p.productId=r.productId and q.productId=r.productId",[$purchase->{purchaseId}]);
|
||||||
my @currentEvents;
|
my @currentEvents;
|
||||||
foreach (@$theseRegs) {
|
foreach (@$theseRegs) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue