From 22116c90eef3021a35a2d851ce67879788af05c5 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 6599c332e4..0633d952bf 100755 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -1605,13 +1605,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