Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-30440 SCORM Fixing Sql errors in interraction reporting

  • Loading branch information...
commit bbe5bad5759e438877ffb111949a5e62063cff51 1 parent 1de9151
@ankitagarwal ankitagarwal authored
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, ' .
Please sign in to comment.
Something went wrong with that request. Please try again.