From: Johannes Burk Date: Thu, 29 Oct 2015 10:47:48 +0000 (+0100) Subject: MDL-41643 datafield_checkbox: Add line breaks behind checkbox options. X-Git-Tag: v3.0.1~97^2 X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=commitdiff_plain;h=64b9afa6a56efa9add85d56394cfbe74b6c77f0d MDL-41643 datafield_checkbox: Add line breaks behind checkbox options. Add line a break behind each checkbox option in advanced search. --- diff --git a/mod/data/field/checkbox/field.class.php b/mod/data/field/checkbox/field.class.php index 5b3cbf725ed..07112920f2b 100644 --- a/mod/data/field/checkbox/field.class.php +++ b/mod/data/field/checkbox/field.class.php @@ -97,6 +97,7 @@ class data_field_checkbox extends data_field_base { } else { $str .= html_writer::checkbox('f_'.$this->field->id.'[]', s($checkbox), false, $checkbox); } + $str .= html_writer::empty_tag('br'); $found = true; } if (!$found) {