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

Nahuel ANGELINETTI nahuel.angelinetti at biblibre.com
Wed Feb 3 14:52:02 CET 2010


modify the "name" of mandatory input field.
(this patch me be re-applied)
---
 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 8c1c450..7884d0b 100755
--- a/admin/marc_subfields_structure.pl
+++ b/admin/marc_subfields_structure.pl
@@ -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    => '',
-- 
1.6.3.3




More information about the Koha-patches mailing list