View | Details | Raw Unified | Return to bug 26904
Collapse All | Expand All

(-)a/opac/opac-password-recovery.pl (-2 / +1 lines)
Lines 84-90 if ( $query->param('sendEmail') || $query->param('resendEmail') ) { Link Here
84
            $firstNonEmptyEmail = $emails[0] if @emails;
84
            $firstNonEmptyEmail = $emails[0] if @emails;
85
85
86
            # Is the given email one of the borrower's ?
86
            # Is the given email one of the borrower's ?
87
            if ( $email && !( any { /^$email$/i } @emails ) ) {
87
            if ( $email && !( any { lc($_) eq lc($email) } @emails ) ) {
88
                $hasError    = 1;
88
                $hasError    = 1;
89
                $errNoBorrowerFound = 1;
89
                $errNoBorrowerFound = 1;
90
            }
90
            }
91
- 

Return to bug 26904