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

(-)a/opac/opac-password-recovery.pl (-4 / +3 lines)
Lines 93-102 if ( $query->param('sendEmail') || $query->param('resendEmail') ) { Link Here
93
            $errNoBorrowerFound = 1;
93
            $errNoBorrowerFound = 1;
94
        }
94
        }
95
95
96
# If we dont have an email yet. Get one of the borrower's email or raise an error.
96
# No email has been entered, no recovery possible
97
        elsif ( !$email && !( $email = $firstNonEmptyEmail ) ) {
97
        elsif ( !$email ) {
98
            $hasError           = 1;
98
            $hasError           = 1;
99
            $errNoBorrowerEmail = 1;
99
            $errNoBorrowerFound = 1;
100
        }
100
        }
101
101
102
# Check if a password reset already issued for this borrower AND we are not asking for a new email
102
# Check if a password reset already issued for this borrower AND we are not asking for a new email
103
- 

Return to bug 18956