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

(-)a/opac/opac-search.pl (-2 / +2 lines)
Lines 526-532 my @results; Link Here
526
526
527
sub _input_cgi_parse {
527
sub _input_cgi_parse {
528
    my @elements;
528
    my @elements;
529
    for my $this_cgi ( split('&',shift) ) {
529
    my $query_cgi = shift or return @elements;
530
    for my $this_cgi ( split('&',$query_cgi) ) {
530
        next unless $this_cgi;
531
        next unless $this_cgi;
531
        $this_cgi =~ /(.*?)=(.*)/;
532
        $this_cgi =~ /(.*?)=(.*)/;
532
        push @elements, { input_name => $1, input_value => Encode::decode_utf8( uri_unescape($2) ) };
533
        push @elements, { input_name => $1, input_value => Encode::decode_utf8( uri_unescape($2) ) };
533
- 

Return to bug 14555