MDL-81029 core_course: Fix activity settings page title

This commit is contained in:
Amaia Anabitarte
2024-02-23 16:04:54 +01:00
parent 5fff172a6e
commit d1e414d3bb
+1 -3
View File
@@ -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)) {