]> git.mjollnir.org Git - moodle.git/commitdiff
Merged fix for bug MDL-5866.
authorvyshane <vyshane>
Wed, 6 Sep 2006 08:54:56 +0000 (08:54 +0000)
committervyshane <vyshane>
Wed, 6 Sep 2006 08:54:56 +0000 (08:54 +0000)
question/question.php

index 973f6bdb93aa9bdfaa194db84ac0d81565fe72cc..70072e06d88649f2cbf2413addc6a166fa2309f2 100644 (file)
 
     $qtype = optional_param('qtype', '', PARAM_FILE);
     $category = optional_param('category', 0, PARAM_INT);
+    
+    
+    $CFG->pagepath = 'question/type/'.$qtype;
+    
 
     // rqp questions set the type to rqp_nn where nn is the rqp_type id
     if (substr($qtype, 0, 4) == 'rqp_') {