[Koha-patches] [PATCH][ReplacePrevious] (bug #3057) mandatory subfield edition

Nahuel ANGELINETTI nahuel.angelinetti at biblibre.com
Wed Mar 25 16:12:06 CET 2009


modify the "name" of mandatory input field.
---
 admin/marc_subfields_structure.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/admin/marc_subfields_structure.pl b/admin/marc_subfields_structure.pl
index 3c15291..0db96a3 100755
--- a/admin/marc_subfields_structure.pl
+++ b/admin/marc_subfields_structure.pl
@@ -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    => '',
-- 
1.5.6.3




More information about the Koha-patches mailing list