Lines 137-142
if ( $uploadborrowers && length($uploadborrowers) > 0 ) {
Link Here
|
137 |
my $overwritten = $return->{overwritten}; |
137 |
my $overwritten = $return->{overwritten}; |
138 |
my $alreadyindb = $return->{already_in_db}; |
138 |
my $alreadyindb = $return->{already_in_db}; |
139 |
my $invalid = $return->{invalid}; |
139 |
my $invalid = $return->{invalid}; |
|
|
140 |
my $imported_borrowers = $return->{imported_borrowers}; |
141 |
|
142 |
if ( $imported && $createpatronlist ) { |
143 |
my $patronlist = AddPatronList({ name => $patronlistname }); |
144 |
AddPatronsToList({ list => $patronlist, borrowernumbers => $imported_borrowers }); |
145 |
$template->param('patronlistname' => $patronlistname); |
146 |
} |
140 |
|
147 |
|
141 |
my $uploadinfo = $input->uploadInfo($uploadborrowers); |
148 |
my $uploadinfo = $input->uploadInfo($uploadborrowers); |
142 |
foreach ( keys %$uploadinfo ) { |
149 |
foreach ( keys %$uploadinfo ) { |
143 |
- |
|
|