MDL-66656 format_social: Edit Summary Icon leads to 'File not found'.
authorGareth Barnard <1058419+gjb2048@users.noreply.github.com>
Fri, 20 Sep 2019 20:44:33 +0000 (21:44 +0100)
committerGareth Barnard <1058419+gjb2048@users.noreply.github.com>
Fri, 20 Sep 2019 20:44:33 +0000 (21:44 +0100)
course/format/social/format.php

index bde9709..44cf6ca 100644 (file)
@@ -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(),
             ]),