Lines 238-244
if ( $uploadborrowers && length($uploadborrowers) > 0 ) {
Link Here
|
238 |
if ( ($matchpoint eq 'cardnumber') && ($borrower{'cardnumber'}) ) { |
238 |
if ( ($matchpoint eq 'cardnumber') && ($borrower{'cardnumber'}) ) { |
239 |
$member = Koha::Patrons->find( { cardnumber => $borrower{'cardnumber'} } ); |
239 |
$member = Koha::Patrons->find( { cardnumber => $borrower{'cardnumber'} } ); |
240 |
} elsif ( ($matchpoint eq 'userid') && ($borrower{'userid'}) ) { |
240 |
} elsif ( ($matchpoint eq 'userid') && ($borrower{'userid'}) ) { |
241 |
$member = Koha::Patrons->find( { userid => $borrower{'userid'} } )->unblessed; |
241 |
$member = Koha::Patrons->find( { userid => $borrower{'userid'} } ); |
242 |
} elsif ($extended) { |
242 |
} elsif ($extended) { |
243 |
if (defined($matchpoint_attr_type)) { |
243 |
if (defined($matchpoint_attr_type)) { |
244 |
foreach my $attr (@$patron_attributes) { |
244 |
foreach my $attr (@$patron_attributes) { |
245 |
- |
|
|