MDL-66874 mod_feedback: Use correct option attribute 'classes'
authorJun Pataleta <jun@moodle.com>
Mon, 14 Oct 2019 03:26:02 +0000 (11:26 +0800)
committerJun Pataleta <jun@moodle.com>
Mon, 14 Oct 2019 03:27:19 +0000 (11:27 +0800)
mod/feedback/show_nonrespondents.php

index fb20199..8aa381d 100644 (file)
@@ -267,7 +267,7 @@ if (empty($students)) {
             $checkbox = new \core\output\checkbox_toggleall('feedback-non-respondents', false, [
                 'id' => 'messageuser-' . $student->id,
                 'name' => 'messageuser[]',
-                'class' => 'mr-1',
+                'classes' => 'mr-1',
                 'value' => $student->id,
                 'label' => get_string('includeuserinrecipientslist', 'mod_feedback', fullname($student)),
                 'labelclasses' => 'accesshide',