Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 9180b308f403cff554957e763f030c44da721621 1 parent 586e08a
vyshane authored
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_') {
Please sign in to comment.
Something went wrong with that request. Please try again.