diff --git a/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm b/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm index fc0aeef18..a69d283cf 100644 --- a/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm +++ b/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm @@ -1350,11 +1350,11 @@ sub addCartVars { $var->{'cart.purchaseLoop'} = []; for (my $i = 0;$i < 25;$i++) { my $purchase = {}; + $self->session->errorHandler->warn("got here!"); $purchase->{purchaseId} = $self->session->scratch->get("purchaseId".$i); next unless $purchase->{purchaseId}; # so we don't show the badge we're currently editing 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 @currentEvents; foreach (@$theseRegs) {