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

(-)a/opac/opac-password-recovery.pl (-2 / +1 lines)
Lines 56-62 if ( $query->param('sendEmail') || $query->param('resendEmail') ) { Link Here
56
    my $borrower;
56
    my $borrower;
57
    my $search_results = [];
57
    my $search_results = [];
58
58
59
    # Find the borrower by his userid or email
59
    # Find the borrower by userid, cardnumber, or email
60
    if ($username) {
60
    if ($username) {
61
        $search_results = [ Koha::Patrons->search( { -or => { userid => $username, cardnumber => $username } } ) ];
61
        $search_results = [ Koha::Patrons->search( { -or => { userid => $username, cardnumber => $username } } ) ];
62
    }
62
    }
63
- 

Return to bug 18616