Skip to content
Browse files

Added $CFG->pagepath so that editing questions will link to the relev…

…ant question types in moodle docs. Fix for bug MDL-5866.
  • Loading branch information...
1 parent 586e08a commit 9180b308f403cff554957e763f030c44da721621 vyshane committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 question/question.php
View
4 question/question.php
@@ -27,6 +27,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_') {

0 comments on commit 9180b30

Please sign in to comment.
Something went wrong with that request. Please try again.