Fix typo.

This commit is contained in:
Bradley M. Kuhn 2018-07-25 09:44:14 -07:00
parent 7ec2c7a291
commit c1fdf916d9

2
scripts/rt-bulk-prep-pay.plx Normal file → Executable file
View file

@ -51,7 +51,7 @@ $INTERACTIVE = 0 if not defined $INTERACTIVE;
my @ticketSpecs = TicketIDsReadyForPayment();
my %payments;
foreach my $ticketSpec (@ticketSpec) {
foreach my $ticketSpec (@ticketSpecs) {
my $paymentMethod = FindMostRecentPaymentMethodForTicket($ticketSpec);
die "Cannot find payment method for ticket, $ticketSpec" unless defined $paymentMethod;
push(@{$payments{$paymentMethod}}, $ticketSpec);