Merge branch 'MDL-66496-master' of git://github.com/tobiasreischmann/moodle
[moodle.git] / mod / data / lib.php
index 00be208..c9a7c33 100644 (file)
@@ -1445,7 +1445,7 @@ function data_print_template($template, $records, $data, $search='', $page=0, $r
             $checkbox = new \core\output\checkbox_toggleall('listview-entries', false, [
                 'id' => "entry_{$record->id}",
                 'name' => 'delcheck[]',
-                'class' => 'recordcheckbox',
+                'classes' => 'recordcheckbox',
                 'value' => $record->id,
             ]);
             $replacement[] = $OUTPUT->render($checkbox);