diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl index f94f690f5b..2ab1092f62 100755 --- a/opac/opac-memberentry.pl +++ b/opac/opac-memberentry.pl @@ -201,6 +201,7 @@ if ( $op eq 'cud-create' ) { $borrower{verification_token} = $verification_token; $borrower{extended_attributes} = to_json($attributes); + $borrower{borrowernumber} = 0; # prevent warn Missing value for PK column Koha::Patron::Modification->new( \%borrower )->store(); #Send verification email