[Koha-patches] [PATCH] Bug: subfields mandatoryness checkbox is not working

Andrei V. Toutoukine tut at isuct.ru
Fri May 22 13:53:30 CEST 2009


	modified:   admin/marc_subfields_structure.pl
---
 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.5





More information about the Koha-patches mailing list