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

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

Return to bug 6554