MDL-18542
Finally committing one line patch for bug. Sigh :-)
This commit is contained in:
@@ -51,6 +51,7 @@ class data_field_checkbox extends data_field_base {
|
||||
if ($checkbox === '') {
|
||||
continue; // skip empty lines
|
||||
}
|
||||
$str .= '<input type="hidden" name="field_' . $this->field->id . '[]" value="" />';
|
||||
$str .= '<input type="checkbox" id="field_'.$this->field->id.'_'.$i.'" name="field_' . $this->field->id . '[]" ';
|
||||
$str .= 'value="' . s($checkbox) . '" ';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user