diff --git a/course/modedit.php b/course/modedit.php index b3c9959b6b7..40819ff7997 100644 --- a/course/modedit.php +++ b/course/modedit.php @@ -197,8 +197,6 @@ if ($mform->is_cancelled()) { exit; } else { - - $streditinga = get_string('editinga', 'moodle', $fullmodulename); $strmodulenameplural = get_string('modulenameplural', $module->name); if (!empty($cm->id)) { @@ -208,7 +206,7 @@ if ($mform->is_cancelled()) { } $PAGE->set_heading($course->fullname); - $PAGE->set_title($streditinga); + $PAGE->set_title($pageheading); $PAGE->set_cacheable(false); if (isset($navbaraddition)) {