diff --git a/opac/opac-password-recovery.pl b/opac/opac-password-recovery.pl index 2f7fbfe2ac..257ca92505 100755 --- a/opac/opac-password-recovery.pl +++ b/opac/opac-password-recovery.pl @@ -54,7 +54,7 @@ if ( $query->param('sendEmail') || $query->param('resendEmail') ) { #try with the main email $email ||= ''; # avoid undef my $borrower; - my $search_results; + my $search_results = []; # Find the borrower by his userid or email if ($username) {