From 180f410694e2890bb0d2054a5593d371db7b7eb8 Mon Sep 17 00:00:00 2001 From: vyshane Date: Wed, 6 Sep 2006 08:54:56 +0000 Subject: [PATCH] Merged fix for bug MDL-5866. --- question/question.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/question/question.php b/question/question.php index 973f6bdb93..70072e06d8 100644 --- a/question/question.php +++ b/question/question.php @@ -26,6 +26,10 @@ $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_') { -- 2.39.5