From e0f18d8f5f5524d544b3de10fbb762ea43ef2fe2 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 Content-Type: text/plain; charset="UTF-8" Also removes unnecessary variable declaration. Thanks to Jonathan Druart for spotting it. --- C4/AuthoritiesMarc.pm | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index 90c253a..9ba916d 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 -- 1.7.2.5