Bug 28786: Fix Patrons/Import.t
DBI Exception: DBD::mysql::st execute failed: Data truncated for column 'auth_method' at row 1 at /kohadevbox/koha/Koha/Object.pm line 170 Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
4023704463
commit
91b2adfbc8
|
|
@ -141,6 +141,7 @@ sub import_patrons {
|
|||
}
|
||||
|
||||
$borrower{cardnumber} = undef if $borrower{cardnumber} eq "";
|
||||
$borrower{auth_method} = undef if $borrower{auth_method} eq "";
|
||||
|
||||
# Check if borrower category code exists and if it matches to a known category. Pushing error to missing_criticals otherwise.
|
||||
$self->check_borrower_category($borrower{categorycode}, $borrowerline, $line_number, \@missing_criticals);
|
||||
|
|
|
|||
Loading…
Reference in New Issue