From 7482fef18bf4929abbf0ef173f49c7a586c66991 Mon Sep 17 00:00:00 2001 From: Peter Burnett Date: Wed, 8 Jul 2020 13:48:30 +1000 Subject: [PATCH] MDL-68784: Updated variable for graph report --- mod/scorm/report/graphs/classes/report.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/scorm/report/graphs/classes/report.php b/mod/scorm/report/graphs/classes/report.php index 6fa46f73cdc..b295f00c423 100644 --- a/mod/scorm/report/graphs/classes/report.php +++ b/mod/scorm/report/graphs/classes/report.php @@ -67,7 +67,7 @@ class report extends \mod_scorm\report { st.attempt AS attempt, st.scoid AS scoid FROM {scorm_scoes_track} st - WHERE st.userid IN ({$allowedlistsql}) AND st.scoid = :scoid"; + WHERE st.userid IN ({$allowedlist}) AND st.scoid = :scoid"; $attempts = $DB->get_records_sql($sql, $params); $usergrades = [];