bugfix.
This commit is contained in:
parent
e16a261063
commit
5d0be969c8
1 changed files with 1 additions and 1 deletions
|
|
@ -2429,7 +2429,7 @@ sub view {
|
||||||
while ($data = $sth->hashRef) {
|
while ($data = $sth->hashRef) {
|
||||||
my $shouldPush = 1;
|
my $shouldPush = 1;
|
||||||
my $eventId = $data->{productId};
|
my $eventId = $data->{productId};
|
||||||
my $requiredList = $self->getPrerequisiteEventList($eventId);
|
my $requiredList = $self->getAllPossibleEventPrerequisites($eventId);
|
||||||
if ($seatsAvailable ne 'none') {
|
if ($seatsAvailable ne 'none') {
|
||||||
my ($numberRegistered) = $self->session->db->quickArray("select count(*) from EventManagementSystem_registrations as r, EventManagementSystem_purchases as p
|
my ($numberRegistered) = $self->session->db->quickArray("select count(*) from EventManagementSystem_registrations as r, EventManagementSystem_purchases as p
|
||||||
where r.purchaseId = p.purchaseId and r.returned=0 and r.productId=".$self->session->db->quote($eventId));
|
where r.purchaseId = p.purchaseId and r.returned=0 and r.productId=".$self->session->db->quote($eventId));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue