@@ -, +, @@ --- Koha/Patrons/Import.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/Koha/Patrons/Import.pm +++ a/Koha/Patrons/Import.pm @@ -199,7 +199,7 @@ sub import_patrons { } # Check if the userid provided does not exist yet - if ( exists $borrower{userid} + if ( $matchpoint ne 'userid' and exists $borrower{userid} and $borrower{userid} and not Check_Userid( $borrower{userid}, $borrower{borrowernumber} ) ) { push @errors, { duplicate_userid => 1, userid => $borrower{userid} }; --