From c1fdf916d943436f9b3a6b0b1d49486c78727021 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Wed, 25 Jul 2018 09:44:14 -0700 Subject: [PATCH] Fix typo. --- scripts/rt-bulk-prep-pay.plx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 scripts/rt-bulk-prep-pay.plx diff --git a/scripts/rt-bulk-prep-pay.plx b/scripts/rt-bulk-prep-pay.plx old mode 100644 new mode 100755 index 2794d06..959c005 --- a/scripts/rt-bulk-prep-pay.plx +++ b/scripts/rt-bulk-prep-pay.plx @@ -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);