]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-8994 - Question category selector on the question type editing forms is ignored...
authortjhunt <tjhunt>
Thu, 22 Mar 2007 00:10:47 +0000 (00:10 +0000)
committertjhunt <tjhunt>
Thu, 22 Mar 2007 00:10:47 +0000 (00:10 +0000)
question/type/questiontype.php

index 03b2a1c799377f350baba03c3d4a06bd98db6eef..fa481e93a1462a1d11e4076e888196cd3b56084c 100644 (file)
@@ -150,6 +150,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;