From 8d06bdad1b1b9e9415450d2dd41f57aca3a32a4d Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Thu, 19 Sep 2019 21:01:27 +1200 Subject: [PATCH] Don't use param_raw. --- renderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderer.php b/renderer.php index 2993cd7..154748d 100644 --- a/renderer.php +++ b/renderer.php @@ -415,7 +415,7 @@ class mod_attendance_renderer extends plugin_renderer_base { * @return string */ protected function render_attendance_take_data(attendance_take_data $takedata) { - user_preference_allow_ajax_update('mod_attendance_statusdropdown', PARAM_RAW); + user_preference_allow_ajax_update('mod_attendance_statusdropdown', PARAM_TEXT); $controls = $this->render_attendance_take_controls($takedata); $table = html_writer::start_div('no-overflow');