From 5a83c14404db8afd42396fc41975c33b12b2482e Mon Sep 17 00:00:00 2001 From: tipaul Date: Fri, 22 Nov 2002 10:13:20 +0000 Subject: [PATCH] small bugfix --- acqui.simple/addbiblio.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acqui.simple/addbiblio.pl b/acqui.simple/addbiblio.pl index f0edcc0f07..a672c32769 100755 --- a/acqui.simple/addbiblio.pl +++ b/acqui.simple/addbiblio.pl @@ -188,7 +188,7 @@ if ($op eq "addbiblio") { # if breeding is empty } else { my ($x,$value); - ($x,$value) = find_value($tag,$subfield,$record) if ($record); + ($x,$value) = find_value($tag,$subfield,$record) if ($record ne -1); if ($tagslib->{$tag}->{$subfield}->{authorised_value}) { my @authorised_values; # builds list, depending on authorised value... @@ -231,7 +231,7 @@ if ($op eq "addbiblio") { my $extended_param = plugin_parameters($dbh,$record,$tagslib,$i,$tabloop); $subfield_data{marc_value}=" {$tag}->{$subfield}->{value_builder}&index=$i$extended_param',$i)\">..."; } else { - $subfield_data{marc_value}=">"; + $subfield_data{marc_value}=""; } } push(@subfields_data, \%subfield_data); -- 2.39.5