(bug #3057) mandatory subfield edition
authorNahuel ANGELINETTI <nahuel.angelinetti@biblibre.com>
Wed, 25 Mar 2009 15:08:48 +0000 (16:08 +0100)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Tue, 26 May 2009 19:15:23 +0000 (21:15 +0200)
modify the "name" of mandatory input field.

admin/marc_subfields_structure.pl

index 8c1c450..7884d0b 100755 (executable)
@@ -258,7 +258,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    => '',