]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-6769 and http://moodle.org/mod/forum/discuss.php?d=60209\rthe default for shufflea...
authorthepurpleblob <thepurpleblob>
Fri, 5 Jan 2007 11:56:57 +0000 (11:56 +0000)
committerthepurpleblob <thepurpleblob>
Fri, 5 Jan 2007 11:56:57 +0000 (11:56 +0000)
question/format.php

index 535b345d802cb2abcb7765c073d0ce3577e3ea8d..86854954a6ac37148885e723190f870789da5a91 100644 (file)
@@ -1,3 +1,4 @@
+
 <?php  // $Id$ 
 
 ////////////////////////////////////////////////////////////////////
@@ -230,8 +231,10 @@ class qformat_default {
     // Somewhere to specify question parameters that are not handled
     // by import but are required db fields.
     // This should not be overridden. 
+        global $CFG;
+        
         $question = new stdClass();
-        $question->shuffleanswers = 0
+        $question->shuffleanswers = $CFG->quiz_shuffleanswers
         $question->defaultgrade = 1;
         $question->image = "";
         $question->usecase = 0;