mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
NOBUG: Fixed PAGE->set_url() regression
$PAGE->set_url() is already properly called by admin_externalpage_setup() with a required 'section' param included. We can't override the PAGE's URL and throw away the params set previously. This may be an issue at other external admin pages, too.
This commit is contained in:
parent
7409013e79
commit
f60ecadf2c
@ -61,8 +61,6 @@
|
||||
/// Body of the script, based on action, we delegate the work
|
||||
$action = optional_param ('action', 'main_view', PARAM_ALPHAEXT);
|
||||
|
||||
$PAGE->set_url('/admin/xmldb/index.php', array('action' => $action));
|
||||
|
||||
/// Get the action path and invoke it
|
||||
$actionsroot = "$CFG->dirroot/$CFG->admin/xmldb/actions";
|
||||
$actionclass = $action . '.class.php';
|
||||
|
Loading…
x
Reference in New Issue
Block a user