Bug 9951: Followup for Tools

Adds decoding for Patron Cards/Patron Search and Tags (moderation).

Test plan:
Goto Tools. Add accent with diacritics in both areas. Check if you do not see
converted characters.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
Marcel de Rooy 2013-04-02 14:06:02 +02:00 committed by Jared Camins-Esakov
parent e94950b3d6
commit 252568aa8b
2 changed files with 2 additions and 1 deletions

View file

@ -34,6 +34,7 @@ my $startfrom = $cgi->param('startfrom')||1;
my $resultsperpage = $cgi->param('resultsperpage')||C4::Context->preference("PatronsPerPage")||20;
my $category = $cgi->param('category') || undef;
my $member = $cgi->param('member') || '';
utf8::decode($member);
my $orderby = $cgi->param('orderby') || undef;
my @categories=C4::Category->all;

View file

@ -23,7 +23,7 @@ use warnings;
use strict;
use Data::Dumper;
use POSIX;
use CGI;
use CGI qw/-utf8/;
use CGI::Cookie; # need to check cookies before having CGI parse the POST request
use C4::Auth qw(:DEFAULT check_cookie_auth);