From 22c80e13b72b152dd759bc9961ce141f59711ab7 Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Fri, 27 Jul 2012 07:53:06 -0400 Subject: [PATCH] Bug 8204 follow-up: quiet warn Also removes unnecessary variable declaration. Thanks to Jonathan Druart for spotting it. Signed-off-by: Jonathan Druart Signed-off-by: Chris Cormack --- C4/AuthoritiesMarc.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index cfff1562c0..c12d20b187 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -967,7 +967,6 @@ sub BuildSummary { $thesaurus{'5'}="Lieux"; $thesaurus{'6'}="Sujets"; #thesaurus a remplir - my @fields = $record->fields(); my $reported_tag; # if the library has a summary defined, use it. Otherwise, build a standard one # FIXME - it appears that the summary field in the authority frameworks @@ -1010,7 +1009,6 @@ sub BuildSummary { my @seefrom; my @seealso; my @otherscript; - my @fields = $record->fields(); if (C4::Context->preference('marcflavour') eq 'UNIMARC') { # construct UNIMARC summary, that is quite different from MARC21 one # accepted form -- 2.20.1