(bug #3057) mandatory subfield edition

modify the "name" of mandatory input field.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
Nahuel ANGELINETTI 2009-03-25 16:12:06 +01:00 committed by Galen Charlton
parent 92051e44dd
commit 1bb9f76e66

View file

@ -250,7 +250,7 @@ if ( $op eq 'add_form' ) {
-id => "repeatable$i" -id => "repeatable$i"
); );
$row_data{mandatory} = CGI::checkbox( $row_data{mandatory} = CGI::checkbox(
-name => "mandatory", -name => "mandatory$i",
-checked => $data->{'mandatory'} ? 'checked' : '', -checked => $data->{'mandatory'} ? 'checked' : '',
-value => 1, -value => 1,
-label => '', -label => '',