From b6dba8e8ffe37aabc6260c8f0b0df19ad1b467be Mon Sep 17 00:00:00 2001 From: Andrew Nugged Date: Thu, 28 Oct 2021 13:04:47 +0300 Subject: [PATCH] Bug 20447: (QA follow-up) Fix full-path call for xml_escape Signed-off-by: Nick Clemens --- C4/XSLT.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/C4/XSLT.pm b/C4/XSLT.pm index b1a788357b..56f4b94f23 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -466,10 +466,10 @@ sub buildKohaHoldingsNamespace { my $ccode = ""; my $xml = ''; while (my $holding = $holdings->next()) { - my $holdingbranch = $holding->holdingbranch ? xml_escape($branches{$holding->holdingbranch}) : ''; - my $location = $holding->location ? xml_escape($shelflocations->{$holding->location} || $holding->location) : ''; - my $callnumber = xml_escape($holding->callnumber); - my $suppress = xml_escape($holding->suppress || '0'); + my $holdingbranch = $holding->holdingbranch ? C4::Koha::xml_escape($branches{$holding->holdingbranch}) : ''; + my $location = $holding->location ? C4::Koha::xml_escape($shelflocations->{$holding->location} || $holding->location) : ''; + my $callnumber = C4::Koha::xml_escape($holding->callnumber); + my $suppress = C4::Koha::xml_escape($holding->suppress || '0'); $xml .= "" . "$holdingbranch" -- 2.37.2