From f60ecadf2c153e1d284a76ec68a0016c3cd39dfa Mon Sep 17 00:00:00 2001 From: mudrd8mz Date: Fri, 2 Oct 2009 11:42:53 +0000 Subject: [PATCH] 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. --- admin/xmldb/index.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/admin/xmldb/index.php b/admin/xmldb/index.php index 4706f50292f..6a4723793d9 100644 --- a/admin/xmldb/index.php +++ b/admin/xmldb/index.php @@ -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';