Skip to content

Commit

Permalink
MDL-65928 mod_choice: Use correct options attribute
Browse files Browse the repository at this point in the history
* Should be 'classes', not 'class'.
  • Loading branch information
junpataleta committed Jul 17, 2019
1 parent 622d83d commit ea38240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/choice/renderer.php
Expand Up @@ -262,7 +262,7 @@ public function display_publish_name_vertical($choices) {
$slavecheckbox = new \core\output\checkbox_toggleall($togglegroup, false, [
'id' => $checkboxid,
'name' => $checkboxname,
'class' => 'mr-1',
'classes' => 'mr-1',
'value' => $checkboxvalue,
'label' => $userfullname . ' ' . $options->text,
'labelclasses' => 'accesshide',
Expand Down

0 comments on commit ea38240

Please sign in to comment.