MDL-18542

Finally committing one line patch for bug. Sigh :-)
This commit is contained in:
thepurpleblob
2009-03-24 10:38:59 +00:00
parent 0326d0e6f7
commit e5dbb5ea88
+1
View File
@@ -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) . '" ';