From 80be71dfd7523447cb5db5bbaa5cec58c7dee595 Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Wed, 16 Mar 2011 15:09:46 +0000 Subject: [PATCH] Follow up for Bug 3326: previous fix broke searches when This fix ensures that searches will still work when -x is not used when reindexing Zebra. Signed-off-by: Nicole C. Engard Signed-off-by: Magnus Enger Signed-off-by: Jane Wagner Signed-off-by: Chris Cormack (cherry picked from commit e18ddca9d4a6c741a918be28bb3e2cc3e2b30030) Signed-off-by: Chris Nighswonger --- C4/XSLT.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/XSLT.pm b/C4/XSLT.pm index e63ecaf503..cc442b9468 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -139,7 +139,7 @@ sub XSLTParse4Display { $sysxml .= "\n"; $xmlrecord =~ s/\<\/record\>/$itemsxml$sysxml\<\/record\>/; if ($fixamps) { # We need to correct the ampersand entities that Zebra outputs - $xmlrecord =~ s/\&/\&/g; + $xmlrecord =~ s/\&amp;/\&/g; } $xmlrecord =~ s/\& /\&\; /; $xmlrecord =~ s/\&\;amp\; /\&\; /;