From 2889603e0eb98980ed74d8ed678069ee823feed5 Mon Sep 17 00:00:00 2001 From: Jane Wagner Date: Wed, 16 Sep 2009 11:15:55 -0400 Subject: [PATCH] Bug-3098-Bug-3108-Bug-3545 revision to XSLT syspref patch The patch I sent earlier repeated a line having to do with the count of items, which mean the count was now doubling (2 items instead of 1, 4 instead of 2, etc.). This patch removes the first, now superflous line of $xmlrecord =~ s/\<\/record\>/$itemsxml\<\/record\>/; Signed-off-by: Galen Charlton --- C4/XSLT.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/C4/XSLT.pm b/C4/XSLT.pm index f230c2cba1..98b06dae69 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -124,7 +124,6 @@ sub XSLTParse4Display { #return $record->as_formatted(); my $itemsxml = buildKohaItemsNamespace($biblionumber); my $xmlrecord = $record->as_xml(); - $xmlrecord =~ s/\<\/record\>/$itemsxml\<\/record\>/; my $sysxml = "\n"; foreach my $syspref ( qw/OPACURLOpenInNewWindow DisplayOPACiconsXSLT URLLinkText/ ) { $sysxml .= "" . -- 2.39.5