Merge branch 'MDL-83710' of https://github.com/paulholden/moodle
This commit is contained in:
@@ -69,8 +69,10 @@ if ($requestedqtype) {
|
||||
$othertypes = array_keys($qtypes);
|
||||
$key = array_search('missingtype', $othertypes);
|
||||
unset($othertypes[$key]);
|
||||
list($sqlqtypetest, $params) = $DB->get_in_or_equal($othertypes, SQL_PARAMS_QM, '', false);
|
||||
|
||||
[$sqlqtypetest, $sqlqtypetestparams] = $DB->get_in_or_equal($othertypes, SQL_PARAMS_QM, '', false);
|
||||
$sqlqtypetest = 'WHERE qtype ' . $sqlqtypetest;
|
||||
$params = array_merge($params, $sqlqtypetestparams);
|
||||
|
||||
} else if ($requestedqtype == '_all_') {
|
||||
$title = get_string('reportforallqtypes', 'report_questioninstances');
|
||||
|
||||
Reference in New Issue
Block a user