From afc74fe321ad5e59b64d340cc6fd222db25cbd95 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 --- C4/XSLT.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/C4/XSLT.pm b/C4/XSLT.pm index 513d48cc83..dc6303c6a2 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -451,10 +451,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.33.0