View | Details | Raw Unified | Return to bug 6554
Collapse All | Expand All

(-)a/admin/preferences.pl (-2 / +4 lines)
Lines 21-26 use strict; Link Here
21
use warnings;
21
use warnings;
22
22
23
use CGI;
23
use CGI;
24
use URI::Escape;
25
24
use C4::Auth;
26
use C4::Auth;
25
use C4::Context;
27
use C4::Context;
26
use C4::Koha;
28
use C4::Koha;
Lines 296-302 if ( $op eq 'save' ) { Link Here
296
my @TABS;
298
my @TABS;
297
299
298
if ( $op eq 'search' ) {
300
if ( $op eq 'search' ) {
299
    my $searchfield = $input->param( 'searchfield' );
301
    my $searchfield = uri_unescape($input->param('searchfield'));
302
    utf8::decode($searchfield);
300
303
301
    $searchfield =~ s/\p{IsC}//g;
304
    $searchfield =~ s/\p{IsC}//g;
302
    $searchfield =~ s/\s+/ /;
305
    $searchfield =~ s/\s+/ /;
303
- 

Return to bug 6554