Revert "Bug 6554: Followup for preferences.pl"
authorGalen Charlton <gmc@esilibrary.com>
Mon, 29 Apr 2013 22:17:31 +0000 (15:17 -0700)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 29 Apr 2013 22:17:31 +0000 (15:17 -0700)
This reverts commit c78b905811ed4869a4a69f60272e1b7787026f6e.

Rolling back bug 6554 work until we have more comprehensive tests.

admin/preferences.pl

index 7c5b3c0..db91e76 100755 (executable)
@@ -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+/ /;