Bug 5651: Question marks break searches w/ICU
[koha_fer] / C4 / Output.pm
index 9f5ed5e..a6cb984 100644 (file)
@@ -474,7 +474,7 @@ sub output_with_http_headers($$$$;$) {
 
 sub output_html_with_http_headers ($$$;$) {
     my ( $query, $cookie, $data, $status ) = @_;
-    $data =~ s/\&amp\;amp\; /\&amp\; /;
+    $data =~ s/\&amp\;amp\; /\&amp\; /g;
     output_with_http_headers( $query, $cookie, $data, 'html', $status );
 }