);
$template->param(
- errormessage => 'KohaAdminEmailAddress system preference
- is not set. Please visit the library to update your user record'
+ noadminemail => 1,
);
output_html_with_http_headers $query, $cookie, $template->output;
exit;
}
-if ( $query->{'modify'} ) {
+if ( $query->param('modify') ) {
# get all the fields:
my $message = <<"EOF";
}
$borr->{'dateenrolled'} = format_date( $borr->{'dateenrolled'} );
-$borr->{'expiry'} = format_date( $borr->{'expiry'} );
+$borr->{'dateexpiry'} = format_date( $borr->{'dateexpiry'} );
$borr->{'dateofbirth'} = format_date( $borr->{'dateofbirth'} );
$borr->{'ethnicity'} = fixEthnicity( $borr->{'ethnicity'} );