From e18ddca9d4a6c741a918be28bb3e2cc3e2b30030 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 --- C4/XSLT.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/XSLT.pm b/C4/XSLT.pm index d60268893e..2d1faccadd 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -140,7 +140,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\; /\&\; /; -- 2.39.5