mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Merged fix for bug MDL-5866.
This commit is contained in:
parent
6b9a1fec8f
commit
180f410694
1 changed files with 4 additions and 0 deletions
|
@ -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_') {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue