Skip to content
Browse files

MDL-30440 SCORM Fixing Sql errors in interraction reporting

  • Loading branch information...
1 parent 1de9151 commit bbe5bad5759e438877ffb111949a5e62063cff51 @ankitagarwal ankitagarwal committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/scorm/report/interactions/report.php
View
2 mod/scorm/report/interactions/report.php
@@ -153,7 +153,7 @@ function display($scorm, $cm, $course, $download) {
}
$params = array();
- list($usql, $params) = $DB->get_in_or_equal($allowedlist);
+ list($usql, $params) = $DB->get_in_or_equal($allowedlist, SQL_PARAMS_NAMED);
// Construct the SQL
$select = 'SELECT DISTINCT '.$DB->sql_concat('u.id', '\'#\'', 'COALESCE(st.attempt, 0)').' AS uniqueid, ';
$select .= 'st.scormid AS scormid, st.attempt AS attempt, ' .

0 comments on commit bbe5bad

Please sign in to comment.
Something went wrong with that request. Please try again.