diff --git a/public/user/profile.php b/public/user/profile.php index 415c047cc29..c7c55f4e990 100644 --- a/public/user/profile.php +++ b/public/user/profile.php @@ -50,7 +50,7 @@ if (!empty($CFG->forceloginforprofiles)) { require_login(); if (isguestuser()) { $PAGE->set_context(context_system::instance()); - $PAGE->set_title(get_string('user')); + $PAGE->set_title(get_string('loginrequired')); echo $OUTPUT->header(); echo $OUTPUT->confirm( get_string('guestcantaccessprofiles', 'error'),