MDL-26511 Images in Cloze multichoice
vertical and horizontal answer and in feedback of all qtype answers
This commit is contained in:
+2
-1
@@ -590,7 +590,8 @@ function question_move_questions_to_category($questionids, $newcategoryid) {
|
||||
SELECT q.id, q.qtype, qc.contextid
|
||||
FROM {question} q
|
||||
JOIN {question_categories} qc ON q.category = qc.id
|
||||
WHERE q.id $questionidcondition", $params);
|
||||
WHERE q.id $questionidcondition OR q.parent $questionidcondition",
|
||||
array_merge($params, $params));
|
||||
foreach ($questions as $question) {
|
||||
if ($newcontextid != $question->contextid) {
|
||||
question_bank::get_qtype($question->qtype)->move_files(
|
||||
|
||||
Reference in New Issue
Block a user