We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2653626 commit 90d00f6Copy full SHA for 90d00f6
1 file changed
user/profile.php
@@ -50,6 +50,7 @@
50
require_login();
51
if (isguestuser()) {
52
$PAGE->set_context(context_system::instance());
53
+ $PAGE->set_title(get_string('user'));
54
echo $OUTPUT->header();
55
echo $OUTPUT->confirm(get_string('guestcantaccessprofiles', 'error'),
56
get_login_url(),
@@ -63,6 +64,7 @@
63
64
65
if ((!$user = $DB->get_record('user', array('id' => $userid))) || ($user->deleted)) {
66
67
68
69
if (!$user) {
70
echo $OUTPUT->notification(get_string('invaliduser', 'error'));
0 commit comments