(bug #3057) mandatory subfield edition
authorNahuel ANGELINETTI <nahuel.angelinetti@biblibre.com>
Wed, 25 Mar 2009 15:12:06 +0000 (16:12 +0100)
committerGalen Charlton <galen.charlton@liblime.com>
Sat, 28 Mar 2009 00:17:37 +0000 (19:17 -0500)
modify the "name" of mandatory input field.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
admin/marc_subfields_structure.pl

index 3c15291..0db96a3 100755 (executable)
@@ -250,7 +250,7 @@ if ( $op eq 'add_form' ) {
             -id       => "repeatable$i"
         );
         $row_data{mandatory} = CGI::checkbox(
-            -name     => "mandatory",
+            -name     => "mandatory$i",
             -checked  => $data->{'mandatory'} ? 'checked' : '',
             -value    => 1,
             -label    => '',