Merged fix for bug MDL-5866.

This commit is contained in:
vyshane 2006-09-06 08:54:56 +00:00
parent 6b9a1fec8f
commit 180f410694

View file

@ -26,6 +26,10 @@
$qtype = optional_param('qtype', '', PARAM_FILE); $qtype = optional_param('qtype', '', PARAM_FILE);
$category = optional_param('category', 0, PARAM_INT); $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 // rqp questions set the type to rqp_nn where nn is the rqp_type id
if (substr($qtype, 0, 4) == 'rqp_') { if (substr($qtype, 0, 4) == 'rqp_') {