(bug #3783) fix marcurls

this permit to have multiples urls in one field
This commit is contained in:
Nahuel ANGELINETTI 2009-11-12 17:00:50 +01:00 committed by Henri-Damien LAURENT
parent e549fc0a5a
commit 8f292e4e50

View file

@ -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');