Bug 39226: (follow-up) Similar change for the cud-update branch
Resolve DBIx::Class::Storage::DBI::insert(): Missing value for primary key column 'verification_token' on BorrowerModification Test plan: Update details for existing borrower. Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
c7bdbf937c
commit
7fb30a073e
|
|
@ -349,6 +349,7 @@ if ( $op eq 'cud-create' ) {
|
|||
|
||||
Koha::Patron::Modifications->search( { borrowernumber => $borrowernumber } )->delete;
|
||||
|
||||
$borrower_changes{verification_token} = q{}; # prevent warn Missing value for PK column
|
||||
my $m = Koha::Patron::Modification->new( \%borrower_changes )->store();
|
||||
|
||||
#Automatically approve patron profile changes if set in syspref
|
||||
|
|
|
|||
Loading…
Reference in New Issue