From d762c9eb243eeb66f827873e602919598a1cf88d Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Fri, 1 Apr 2016 10:00:20 -0400 Subject: [PATCH] LP 1768715: Fix bug in pingest.pl after --pipe option was added. Apparently, the results of DBI->selectall_arrayref need to be cast to an array and not just returned as a list. Signed-off-by: Jason Stephenson Signed-off-by: Bill Erickson --- Open-ILS/src/support-scripts/pingest.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/support-scripts/pingest.pl b/Open-ILS/src/support-scripts/pingest.pl index 898dc1380c..73efaab727 100755 --- a/Open-ILS/src/support-scripts/pingest.pl +++ b/Open-ILS/src/support-scripts/pingest.pl @@ -152,7 +152,7 @@ if ($opt_pipe) { } } } else { - @input = ($dbh->selectall_arrayref($q)); + @input = @{$dbh->selectall_arrayref($q)}; } foreach my $r (@input) { -- 2.43.2