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

(-)a/opac/opac-search.pl (-2 / +2 lines)
Lines 498-504 my @results; Link Here
498
498
499
sub _input_cgi_parse {
499
sub _input_cgi_parse {
500
    my @elements;
500
    my @elements;
501
    for my $this_cgi ( split('&',shift) ) {
501
    my $query_cgi = shift or return @elements;
502
    for my $this_cgi ( split('&',$query_cgi) ) {
502
        next unless $this_cgi;
503
        next unless $this_cgi;
503
        $this_cgi =~ /(.*?)=(.*)/;
504
        $this_cgi =~ /(.*?)=(.*)/;
504
        push @elements, { input_name => $1, input_value => Encode::decode_utf8( uri_unescape($2) ) };
505
        push @elements, { input_name => $1, input_value => Encode::decode_utf8( uri_unescape($2) ) };
505
- 

Return to bug 14555