Fix typo.
This commit is contained in:
parent
7ec2c7a291
commit
c1fdf916d9
1 changed files with 1 additions and 1 deletions
2
scripts/rt-bulk-prep-pay.plx
Normal file → Executable file
2
scripts/rt-bulk-prep-pay.plx
Normal file → Executable file
|
@ -51,7 +51,7 @@ $INTERACTIVE = 0 if not defined $INTERACTIVE;
|
||||||
my @ticketSpecs = TicketIDsReadyForPayment();
|
my @ticketSpecs = TicketIDsReadyForPayment();
|
||||||
|
|
||||||
my %payments;
|
my %payments;
|
||||||
foreach my $ticketSpec (@ticketSpec) {
|
foreach my $ticketSpec (@ticketSpecs) {
|
||||||
my $paymentMethod = FindMostRecentPaymentMethodForTicket($ticketSpec);
|
my $paymentMethod = FindMostRecentPaymentMethodForTicket($ticketSpec);
|
||||||
die "Cannot find payment method for ticket, $ticketSpec" unless defined $paymentMethod;
|
die "Cannot find payment method for ticket, $ticketSpec" unless defined $paymentMethod;
|
||||||
push(@{$payments{$paymentMethod}}, $ticketSpec);
|
push(@{$payments{$paymentMethod}}, $ticketSpec);
|
||||||
|
|
Loading…
Reference in a new issue