From 5e47f766a2b5fc85e766e1fc67b054e971185de7 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 29 Apr 2013 15:17:31 -0700 Subject: [PATCH] Revert "Bug 6554: Followup for preferences.pl" This reverts commit c78b905811ed4869a4a69f60272e1b7787026f6e. Rolling back bug 6554 work until we have more comprehensive tests. --- admin/preferences.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/admin/preferences.pl b/admin/preferences.pl index 7c5b3c01f8..db91e76e7d 100755 --- a/admin/preferences.pl +++ b/admin/preferences.pl @@ -21,7 +21,6 @@ use strict; use warnings; use CGI; - use C4::Auth; use C4::Context; use C4::Koha; @@ -296,8 +295,7 @@ if ( $op eq 'save' ) { my @TABS; if ( $op eq 'search' ) { - my $searchfield = $input->param('searchfield'); - utf8::decode($searchfield); + my $searchfield = $input->param( 'searchfield' ); $searchfield =~ s/\p{IsC}//g; $searchfield =~ s/\s+/ /; -- 2.39.5