From d1e414d3bb8bd2bcea0c8187004cb88652758754 Mon Sep 17 00:00:00 2001 From: Amaia Anabitarte Date: Fri, 23 Feb 2024 13:44:42 +0100 Subject: [PATCH] MDL-81029 core_course: Fix activity settings page title --- course/modedit.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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)) {