[Koha-patches] [PATCH] Bug 3827: Impossible to set a subfield mandatory in biblio framework

Frédéric Demians f.demians at tamil.fr
Wed Dec 2 13:55:20 CET 2009


This patch is for 3.0.x. 3.2 is correct.
---
 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 c8ee3df..7bcd0dc 100755
--- a/admin/marc_subfields_structure.pl
+++ b/admin/marc_subfields_structure.pl
@@ -251,7 +251,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.4.3




More information about the Koha-patches mailing list