From af7e5182ec4aaedb317c0e978049418324ea3f67 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Fri, 23 Jul 2021 08:29:46 +1200 Subject: [PATCH] Bug 27266: (follow-up) Using biblio frameworkcode to get rid of FIXME Signed-off-by: David Nind --- Koha/Biblio.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Koha/Biblio.pm b/Koha/Biblio.pm index 558abcab80..2297d0d22c 100644 --- a/Koha/Biblio.pm +++ b/Koha/Biblio.pm @@ -860,8 +860,7 @@ sub get_marc_authors { # tagslib useful only for UNIMARC author responsibilities my $tagslib; if ( $marcflavour eq "UNIMARC" ) { - # FIXME : we don't have the framework available, we take the default framework. May be buggy on some setups, will be usually correct. - $tagslib = C4::Biblio::GetMarcStructure( 1, '', { unsafe => 1 }); + $tagslib = C4::Biblio::GetMarcStructure( 1, $self->frameworkcode, { unsafe => 1 }); $mintag = "700"; $maxtag = "712"; $fields_filter = '7..'; -- 2.11.0