diff --git a/question/type/questiontype.php b/question/type/questiontype.php index 17603c87ad7..65a8068c17c 100644 --- a/question/type/questiontype.php +++ b/question/type/questiontype.php @@ -147,6 +147,7 @@ class default_questiontype { // question types. // First, save the basic question itself + $question->category = $form->category; $question->name = trim($form->name); $question->questiontext = trim($form->questiontext); $question->questiontextformat = $form->questiontextformat;