From 6c94dc79878c727b47f0617548613e1b7f5794a3 Mon Sep 17 00:00:00 2001 From: Lyon3 Team Date: Wed, 4 Nov 2015 17:06:10 +0100 Subject: [PATCH] Bug 15130: useless unitialization warnings when updating authorities Signed-off-by: Frederic Demians Fixes a trivial coding error. Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- C4/AuthoritiesMarc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index f6174375cd..dd8be73cbc 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -1515,7 +1515,7 @@ sub merge { # BulkEdit marc records # May be used as a template for a bulkedit field foreach my $marcrecord(@reccache){ - my $update; + my $update = 0; foreach my $tagfield (@tags_using_authtype){ # warn "tagfield : $tagfield "; foreach my $field ($marcrecord->field($tagfield)){ -- 2.39.5