MDL-81029 core_course: Fix activity settings page title
This commit is contained in:
+1
-3
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user