diff --git a/course/format/social/format.php b/course/format/social/format.php index bde97091021..44cf6ca12ab 100644 --- a/course/format/social/format.php +++ b/course/format/social/format.php @@ -50,7 +50,7 @@ if (trim($forum->intro) != '') { $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(), ]),