diff --git a/settings.php b/settings.php index 0f85389..b6a31e8 100644 --- a/settings.php +++ b/settings.php @@ -41,7 +41,7 @@ get_string('default_config_desc', 'qtype_shortmath'), '', $menu)); // Link to configuration manager page. - $returnurl = $PAGE->url->out_as_local_url(false); + $returnurl = new moodle_url('/admin/settings.php?section=qtypesettingshortmath'); $settings->add(new admin_setting_description('qtype_shortmath/templatemanager', get_string('manage_templates_link_desc', 'qtype_shortmath'), get_string('template_manager_link', 'qtype_shortmath',