From 27cd564c20ffede4a7e7fdef332c457389e94240 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Demians?= Date: Wed, 3 Aug 2016 08:24:03 +0200 Subject: [PATCH] Revert "Bug 16917 - Error when importing patrons, Column 'checkprevcheckout' cannot be null" This reverts commit 878402689eb652b09bed0d4f2c7e458d5c5493f4. --- C4/Members.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/C4/Members.pm b/C4/Members.pm index a906809643..8049c193ac 100644 --- a/C4/Members.pm +++ b/C4/Members.pm @@ -724,7 +724,6 @@ sub AddMember { # get only the columns of Borrower my @columns = $schema->source('Borrower')->columns; my $new_member = { map { join(' ',@columns) =~ /$_/ ? ( $_ => $data{$_} ) : () } keys(%data) } ; - $new_member->{checkprevcheckout} ||= 'inherit'; delete $new_member->{borrowernumber}; my $rs = $schema->resultset('Borrower'); -- 2.39.5