From cac4a46055d6b4ea7dfc8608cb52903aed060dfb Mon Sep 17 00:00:00 2001 From: tipaul Date: Thu, 2 Sep 2004 16:21:29 +0000 Subject: [PATCH] fixing minor bug for hidden fields in editor --- acqui.simple/addbiblio.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/acqui.simple/addbiblio.pl b/acqui.simple/addbiblio.pl index 390210f693..a7cffbc8ca 100755 --- a/acqui.simple/addbiblio.pl +++ b/acqui.simple/addbiblio.pl @@ -184,7 +184,9 @@ sub create_input () { my ($function_name,$javascript) = plugin_javascript($dbh,$rec,$tagslib,$i,$tabloop); $subfield_data{marc_value}=" ... $javascript"; # it's an hidden field - } elsif ($tag eq '' or $tagslib->{$tag}->{$subfield}->{'hidden'}) { + } elsif ($tag eq '') { + $subfield_data{marc_value}=""; + } elsif ($tagslib->{$tag}->{$subfield}->{'hidden'}) { $subfield_data{marc_value}=""; # it's a standard field } else { -- 2.39.5