Index: trunk/extensions/Wikidata/OmegaWiki/forms.php |
— | — | @@ -31,9 +31,9 @@ |
32 | 32 | // therefore the value of a disabled, but checked, checkbox must be sent with a hidden input |
33 | 33 | if ( $disabled ) { |
34 | 34 | if ( $isChecked ) { |
35 | | - return '<input disabled="disabled" type="checkbox" name="' . $name . checkBoxCheckAttribute( $isChecked ) . '/><input type="hidden" name="' . $name . '" value="1"/>'; |
| 35 | + return '<input disabled="disabled" type="checkbox" name="' . $name . '"' . checkBoxCheckAttribute( $isChecked ) . '/><input type="hidden" name="' . $name . '" value="1"/>'; |
36 | 36 | } else { |
37 | | - return '<input disabled="disabled" type="checkbox" name="' . $name . checkBoxCheckAttribute( $isChecked ) . '/>'; |
| 37 | + return '<input disabled="disabled" type="checkbox" name="' . $name . '"' . checkBoxCheckAttribute( $isChecked ) . '/>'; |
38 | 38 | } |
39 | 39 | } else { |
40 | 40 | return '<input type="checkbox" name="' . $name . '"' . checkBoxCheckAttribute( $isChecked ) . '/>'; |