Revert "Bug 6554: Followup for preferences.pl"

This reverts commit c78b905811.

Rolling back bug 6554 work until we have more comprehensive tests.
This commit is contained in:
Galen Charlton 2013-04-29 15:17:31 -07:00
parent 7459297a3a
commit 5e47f766a2
1 changed files with 1 additions and 3 deletions

View File

@ -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+/ /;