From 41df3e08d392c51757ad37a6ace391b1e44b62f3 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 --- C4/AuthoritiesMarc.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index 90c253ae6b..9ba916dcf9 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -971,7 +971,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 @@ -1014,7 +1013,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.39.5