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

(-)a/Koha/Patrons/Import.pm (-1 / +1 lines)
Lines 207-212 sub import_patrons { Link Here
207
            and exists $borrower{userid}
207
            and exists $borrower{userid}
208
            and $borrower{userid}
208
            and $borrower{userid}
209
            and not Koha::Patron->new( { userid => $borrower{userid} } )->has_valid_userid
209
            and not Koha::Patron->new( { userid => $borrower{userid} } )->has_valid_userid
210
            and ( (!$borrowernumber) || (Koha::Patrons->find($borrowernumber)->userid ne $borrower{userid}) )
210
        ) {
211
        ) {
211
            push @errors, { duplicate_userid => 1, userid => $borrower{userid} };
212
            push @errors, { duplicate_userid => 1, userid => $borrower{userid} };
212
            $invalid++;
213
            $invalid++;
213
- 

Return to bug 21951