@@ -, +, @@ leaving form fields empty - Set syspref OpacResetPassword to "Allow" - Go to OPAC - Click link "Forgot your password? - On the following screen "Forgotten password recovery", do not fill in form fields, click "Submit" - Apply patch - Verify that the error no longer occurs --- opac/opac-password-recovery.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/opac/opac-password-recovery.pl +++ a/opac/opac-password-recovery.pl @@ -63,7 +63,7 @@ if ( $query->param('sendEmail') || $query->param('resendEmail') ) { elsif ($email) { $search_results = [ Koha::Patrons->search( { -or => { email => $email, emailpro => $email, B_email => $email } } ) ]; } - if ( not $search_results || scalar @$search_results > 1 ) { + if ( not $search_results || eval { scalar @$search_results > 1 } ) { $hasError = 1; $errNoBorrowerFound = 1; } --