From 8f292e4e504682c25820990df0791a7f3ee14bd0 Mon Sep 17 00:00:00 2001 From: Nahuel ANGELINETTI Date: Thu, 12 Nov 2009 17:00:50 +0100 Subject: [PATCH] (bug #3783) fix marcurls this permit to have multiples urls in one field --- C4/Biblio.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index 7b83d61275..7b17981f22 100755 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -1511,13 +1511,13 @@ sub GetMarcUrls { my @marcurls; for my $field ( $record->field('856') ) { - my $marcurl; my @notes; for my $note ( $field->subfield('z') ) { push @notes, { note => $note }; } my @urls = $field->subfield('u'); foreach my $url (@urls) { + my $marcurl; if ( $marcflavour eq 'MARC21' ) { my $s3 = $field->subfield('3'); my $link = $field->subfield('y'); -- 2.39.5