MDL-68784: Updated variable for graph report
authorPeter Burnett <peterburnett@catalyst-au.net>
Wed, 8 Jul 2020 03:48:30 +0000 (13:48 +1000)
committerPeter Burnett <peterburnett@catalyst-au.net>
Wed, 8 Jul 2020 03:48:30 +0000 (13:48 +1000)
mod/scorm/report/graphs/classes/report.php

index 6fa46f7..b295f00 100644 (file)
@@ -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 = [];