mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-40857 External tool: fix incorrect moodle_url usage.
This commit is contained in:
parent
c11ff4be69
commit
7302fbf696
@ -195,7 +195,8 @@ class mod_lti_mod_form extends moodleform_mod {
|
||||
// add standard buttons, common to all modules
|
||||
$this->add_action_buttons();
|
||||
|
||||
$editurl = new moodle_url("/mod/lti/instructor_edit_tool_type.php?sesskey={$USER->sesskey}&course={$COURSE->id}");
|
||||
$editurl = new moodle_url('/mod/lti/instructor_edit_tool_type.php',
|
||||
array('sesskey' => sesskey(), 'course' => $COURSE->id));
|
||||
$ajaxurl = new moodle_url('/mod/lti/ajax.php');
|
||||
|
||||
$jsinfo = (object)array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user