Lines 279-285
sub import_patrons {
Link Here
|
279 |
# FIXME : You cannot update a field with a perl-evaluated false value using the defaults. |
279 |
# FIXME : You cannot update a field with a perl-evaluated false value using the defaults. |
280 |
|
280 |
|
281 |
# The password is always encrypted, skip it unless we are forcing overwrite! |
281 |
# The password is always encrypted, skip it unless we are forcing overwrite! |
282 |
next if $col eq 'password' && !$overwrite_passwords; |
282 |
next if $col eq 'password' && !$overwrite_passwords; |
|
|
283 |
next if $col eq 'dateexpiry' && $update_dateexpiry; |
283 |
|
284 |
|
284 |
unless ( exists( $csvkeycol{$col} ) || $defaults->{$col} ) { |
285 |
unless ( exists( $csvkeycol{$col} ) || $defaults->{$col} ) { |
285 |
$borrower{$col} = $member->{$col} if ( $member->{$col} ); |
286 |
$borrower{$col} = $member->{$col} if ( $member->{$col} ); |
286 |
- |
|
|