Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Re-enabled the working code changed for email testing

  • Loading branch information...
commit 51ca539a7160a5b792a3e1f6772a8fa2015f06bb 1 parent 3d6a17d
@atrophy authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 generate_tickets.pl
View
4 generate_tickets.pl
@@ -18,8 +18,8 @@
my $msgbody = do { local $/; <MESSAGE> };
close(MESSAGE);
-#my $sql = "SELECT * FROM attendees INNER JOIN tickets ON (attendees.attendee_id = tickets.ticket_attendee_id_fk) WHERE tickets.ticket_event_id_fk = " . $event_id . " AND tickets.ticket_paid = TRUE AND tickets.ticket_sent = FALSE;";
-my $sql = "SELECT * FROM attendees INNER JOIN tickets ON (attendees.attendee_id = tickets.ticket_attendee_id_fk) WHERE tickets.ticket_event_id_fk = 1 AND attendees.attendee_id = 5;";
+my $sql = "SELECT * FROM attendees INNER JOIN tickets ON (attendees.attendee_id = tickets.ticket_attendee_id_fk) WHERE tickets.ticket_event_id_fk = " . $event_id . " AND tickets.ticket_paid = TRUE AND tickets.ticket_sent = FALSE;";
+#my $sql = "SELECT * FROM attendees INNER JOIN tickets ON (attendees.attendee_id = tickets.ticket_attendee_id_fk) WHERE tickets.ticket_event_id_fk = 1 AND attendees.attendee_id = 5;";
my $sth = $main::dbh->prepare($sql);
$sth->execute();
my $attendees = $sth->fetchall_hashref('attendee_id');
Please sign in to comment.
Something went wrong with that request. Please try again.