diff --git a/question/format.php b/question/format.php index b2ddad210d7..a2aeaa1c40d 100644 --- a/question/format.php +++ b/question/format.php @@ -426,7 +426,7 @@ class qformat_default { $result = question_bank::get_qtype($question->qtype)->save_question_options($question); if (isset($question->tags)) { - core_tag_tag::set_item_tags('core_question', 'question', $question->context, $question->id, $question->tags); + core_tag_tag::set_item_tags('core_question', 'question', $question->id, $question->context, $question->tags); } if (!empty($result->error)) {