diff --git a/course/format/social/format.php b/course/format/social/format.php index bde9709102155..44cf6ca12ab4a 100644 --- a/course/format/social/format.php +++ b/course/format/social/format.php @@ -50,7 +50,7 @@ $streditsummary = get_string('editsummary'); $introcontent .= html_writer::start_div('editinglink'); $introcontent .= html_writer::link( - new moodle_url('/modedit.php', [ + new moodle_url('/course/modedit.php', [ 'update' => $coursemodule->id, 'sesskey' => sesskey(), ]),