diff --git a/scripts/rt-bulk-prep-pay.plx b/scripts/rt-bulk-prep-pay.plx index ae7d23d..54da279 100755 --- a/scripts/rt-bulk-prep-pay.plx +++ b/scripts/rt-bulk-prep-pay.plx @@ -27,8 +27,7 @@ sub TicketIDsReadyForPayment () { } print "Using $queryString\n"; open(my $rtLsFH, "-|", "$RT_CMD", "ls", "-i", $queryString); - print "Running: rt ls -i Status=ready-for-payment\n" if ($VERBOSE >= 10); - + print "Running: rt ls -i $queryString\n" if ($VERBOSE >= 10); while (my $lsLine = <$rtLsFH>) { print "rt ls line from Ready for payment search: $lsLine" if ($VERBOSE >= 10); chomp $lsLine;