From 7f7be0635a3f6f0b7a6c110f1b23d0952b2a915b Mon Sep 17 00:00:00 2001 From: David Kuhn Date: Wed, 31 May 2017 08:18:13 -0700 Subject: [PATCH] Updated comment in code to reflect the change (and make gender neutral). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://bugs.koha-community.org/show_bug.cgi?id=18616 Signed-off-by: Marc VĂ©ron --- opac/opac-password-recovery.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-password-recovery.pl b/opac/opac-password-recovery.pl index 7b397a9..505f0cf 100755 --- a/opac/opac-password-recovery.pl +++ b/opac/opac-password-recovery.pl @@ -56,7 +56,7 @@ if ( $query->param('sendEmail') || $query->param('resendEmail') ) { my $borrower; my $search_results = []; - # Find the borrower by his userid or email + # Find the borrower by userid, cardnumber, or email if ($username) { $search_results = [ Koha::Patrons->search( { -or => { userid => $username, cardnumber => $username } } ) ]; } -- 2.1.4