@@ -, +, @@ update on import whether column included or not surname firstname branchcode categorycode cardnumber dateenrolled Acosta Edna CPL PT 23529001000463 02/01/2013 --- Koha/Patrons/Import.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/Koha/Patrons/Import.pm +++ a/Koha/Patrons/Import.pm @@ -279,7 +279,8 @@ sub import_patrons { # FIXME : You cannot update a field with a perl-evaluated false value using the defaults. # The password is always encrypted, skip it unless we are forcing overwrite! - next if $col eq 'password' && !$overwrite_passwords; + next if $col eq 'password' && !$overwrite_passwords; + next if $col eq 'dateexpiry' && $update_dateexpiry; unless ( exists( $csvkeycol{$col} ) || $defaults->{$col} ) { $borrower{$col} = $member->{$col} if ( $member->{$col} ); --