From 6c5fe2098a02f593393d4c5922edf22887bc2f57 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 18 Dec 2012 10:55:25 -0500 Subject: [PATCH] Bug 9393 - Change 'mobile phone' to 'other phone', run typed in captcha through uc before comparing. Signed-off-by: Jonathan Druart Label changed and captcha is not case sensitive --- opac/opac-memberentry.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl index 321d47c..75ecdc3 100755 --- a/opac/opac-memberentry.pl +++ b/opac/opac-memberentry.pl @@ -102,7 +102,7 @@ if ( $action eq 'create' ) { ); } elsif ( - md5_base64( $cgi->param('captcha') ) ne $cgi->param('captcha_digest') ) + md5_base64( uc( $cgi->param('captcha') ) ) ne $cgi->param('captcha_digest') ) { $template->param( failed_captcha => 1, -- 2.1.4