Merge branch 'wip-MDL-46791-master' of git://github.com/satrun77/moodle
This commit is contained in:
+1
-1
@@ -426,7 +426,7 @@ class qformat_default {
|
||||
|
||||
if (!empty($CFG->usetags) && isset($question->tags)) {
|
||||
require_once($CFG->dirroot . '/tag/lib.php');
|
||||
tag_set('question', $question->id, $question->tags, 'core_question', $question->context);
|
||||
tag_set('question', $question->id, $question->tags, 'core_question', $question->context->id);
|
||||
}
|
||||
|
||||
if (!empty($result->error)) {
|
||||
|
||||
Reference in New Issue
Block a user