Lines 247-252
elsif ( $action eq 'update' ) {
Link Here
|
247 |
my %borrower = ParseCgiForBorrower($cgi); |
247 |
my %borrower = ParseCgiForBorrower($cgi); |
248 |
$borrower{borrowernumber} = $borrowernumber; |
248 |
$borrower{borrowernumber} = $borrowernumber; |
249 |
|
249 |
|
|
|
250 |
if (defined $borrower->{dateofbirth} && ! $borrower{dateofbirth}) { |
251 |
$borrower{dateofbirth} = $Koha::Patron::Modification::DUMMY_DATE; |
252 |
} |
250 |
my %borrower_changes = DelEmptyFields(%borrower); |
253 |
my %borrower_changes = DelEmptyFields(%borrower); |
251 |
my @empty_mandatory_fields = |
254 |
my @empty_mandatory_fields = |
252 |
CheckMandatoryFields( \%borrower_changes, $action ); |
255 |
CheckMandatoryFields( \%borrower_changes, $action ); |
253 |
- |
|
|