MDL-23545 question: XML import/export add category description
This commit is contained in:
@@ -76,7 +76,7 @@ function get_questions_category( $category, $noparent=false, $recurse=true, $exp
|
||||
|
||||
// Get the list of questions for the category
|
||||
list($usql, $params) = $DB->get_in_or_equal($categorylist);
|
||||
$questions = $DB->get_records_select('question', "category {$usql} {$npsql}", $params, 'qtype, name');
|
||||
$questions = $DB->get_records_select('question', "category {$usql} {$npsql}", $params, 'category, qtype, name');
|
||||
|
||||
// Iterate through questions, getting stuff we need
|
||||
$qresults = array();
|
||||
|
||||
Reference in New Issue
Block a user