diff --git a/admin/editors.php b/admin/editors.php index f115a9287f0..f6e68ff7a8d 100644 --- a/admin/editors.php +++ b/admin/editors.php @@ -93,7 +93,7 @@ switch ($action) { $strplugin = $editor; } - echo $PAGE->set_title($strplugin); + $PAGE->set_title($strplugin); echo $OUTPUT->header(); if (!$confirm) { diff --git a/admin/enrol.php b/admin/enrol.php index b0818ddf5b3..10062a199b9 100644 --- a/admin/enrol.php +++ b/admin/enrol.php @@ -103,7 +103,7 @@ switch ($action) { $strplugin = $enrol; } - echo $PAGE->set_title($strplugin); + $PAGE->set_title($strplugin); echo $OUTPUT->header(); if (!$confirm) {