View | Details | Raw Unified | Return to bug 22386
Collapse All | Expand All

(-)a/Koha/Patrons/Import.pm (-1 / +1 lines)
Lines 176-181 sub import_patrons { Link Here
176
                    if ( $attr->{code} eq $matchpoint and $attr->{value} ne '' ) {
176
                    if ( $attr->{code} eq $matchpoint and $attr->{value} ne '' ) {
177
                        my @borrowernumbers = $matchpoint_attr_type->get_patrons( $attr->{value} );
177
                        my @borrowernumbers = $matchpoint_attr_type->get_patrons( $attr->{value} );
178
                        $borrowernumber = $borrowernumbers[0] if scalar(@borrowernumbers) == 1;
178
                        $borrowernumber = $borrowernumbers[0] if scalar(@borrowernumbers) == 1;
179
                        $patron = Koha::Patrons->find( $borrowernumber );
179
                        last;
180
                        last;
180
                    }
181
                    }
181
                }
182
                }
182
- 

Return to bug 22386