[Koha-patches] [PATCH] Fix ampersand problem in non-XSLT Intranet search results
Cindy Murdock Ames
cmurdock at ccfls.org
Mon Apr 19 20:44:42 CEST 2010
Quick fix for ampersand display issue in non-xslt intranet search results,
related to bug 3326.
---
C4/Output.pm | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/C4/Output.pm b/C4/Output.pm
index 1c31558..7871e34 100644
--- a/C4/Output.pm
+++ b/C4/Output.pm
@@ -460,6 +460,7 @@ sub output_with_http_headers($$$$;$) {
sub output_html_with_http_headers ($$$;$) {
my ( $query, $cookie, $data, $status ) = @_;
+ $data =~ s/\&\;amp\; /\&\; /;
output_with_http_headers( $query, $cookie, $data, 'html', $status );
}
--
1.5.6.5
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cindy Murdock Ames
IT Services Director
Meadville Public Library | CCFLS
http://meadvillelibrary.org | http://ccfls.org
More information about the Koha-patches
mailing list