just modify the way to parse the actual args
---
opac/opac-search.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opac/opac-search.pl b/opac/opac-search.pl
index 459d018..b9a3af2 100755
--- a/opac/opac-search.pl
+++ b/opac/opac-search.pl
@@ -334,7 +334,7 @@ sub _input_cgi_parse ($) {
my @elements;
for my $this_cgi ( split('&',shift) ) {
next unless $this_cgi;
- $this_cgi =~ /(.*)=(.*)/;
+ $this_cgi =~ /(.*?)=(.*)/;
push @elements, { input_name => $1, input_value => $2 };
}
return @elements;
--
1.5.6.3
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches