From ff7affdf43b4850a0ce62c9924246caac69b9030 Mon Sep 17 00:00:00 2001 From: Matthias Meusburger Date: Wed, 30 Mar 2011 16:07:07 +0200 Subject: [PATCH] Bug 5996 : MT2926: Fix default values for patron import Signed-off-by: Henri-Damien LAURENT Signed-off-by: Julian Maurice Signed-off-by: Chris Cormack --- tools/import_borrowers.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/import_borrowers.pl b/tools/import_borrowers.pl index ea935191c3..6141998a2a 100755 --- a/tools/import_borrowers.pl +++ b/tools/import_borrowers.pl @@ -148,7 +148,7 @@ if ( $uploadborrowers && length($uploadborrowers) > 0 ) { } elsif (@columns == @columnkeys) { @borrower{@columnkeys} = @columns; # MJR: try to fill blanks gracefully by using default values - foreach my $key (@criticals) { + foreach my $key (@columnkeys) { if ($borrower{$key} !~ /\S/) { $borrower{$key} = $defaults{$key}; } -- 2.39.5