MDL-70288 qtype: Remove unnecessary empty label string
commit2961feb71ca7d000c8484da2c8dae97933a3f70b
authorJun Pataleta <jun@moodle.com>
Tue, 24 Nov 2020 05:08:54 +0000 (24 13:08 +0800)
committerJun Pataleta <jun@moodle.com>
Tue, 2 Feb 2021 05:53:05 +0000 (2 13:53 +0800)
treeb81810e598650c1f43d94fb049c5534d293e72db
parent793aa0359829033005dbc6d3ec73e46a22975513
MDL-70288 qtype: Remove unnecessary empty label string

* When a label is passed to an (advanced) checkbox and no text
  was provided, the label will be displayed on the right of the the
  checkbox element. So there's no point in passing an empty string for
  the label just to render the text to the right of the checkbox.
question/type/ddimageortext/edit_ddimageortext_form.php
question/type/ddmarker/edit_ddmarker_form.php
question/type/ddwtos/edit_ddwtos_form.php