From ff670b87615109176a8bf88a62fe27830d64957e Mon Sep 17 00:00:00 2001 From: Filippos N Kolovos Date: Mon, 14 Jun 2021 09:49:16 +0300 Subject: [PATCH 2/2] Bug 19220 | Allow XSLT processing for Z39.50 authority targets like for bibliographic targets A minor correction in Breedin.pm, in the point where it retrieves the marcflavour from preferences. The "shift" operation is not required --- C4/Breeding.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Breeding.pm b/C4/Breeding.pm index a606acc579..bdb960da84 100644 --- a/C4/Breeding.pm +++ b/C4/Breeding.pm @@ -502,7 +502,7 @@ sub ImportBreedingAuth { my $batch_id = GetZ3950BatchId($filename); my $searchbreeding = $dbh->prepare("select import_record_id from import_auths where control_number=? and authorized_heading=?"); - my $marc_type = shift || C4::Context->preference('marcflavour'); + my $marc_type = C4::Context->preference('marcflavour'); my $controlnumber = $marcrecord->field('001')->data; -- 2.20.1