Skip to content

Commit

Permalink
Issue KQMATH#67: out_as_local_url called on a non-local URL
Browse files Browse the repository at this point in the history
  • Loading branch information
petersistrom committed Feb 6, 2023
1 parent d885c30 commit 1eb3c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 1eb3c29

Please sign in to comment.