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:
parent
7459297a3a
commit
5e47f766a2
|
|
@ -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+/ /;
|
||||
|
|
|
|||
Loading…
Reference in New Issue