mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
LIkely fix for MDL-8067
This commit is contained in:
parent
d3981e3804
commit
ff4220f524
@ -12,6 +12,8 @@
|
||||
$id = $USER->id;
|
||||
}
|
||||
|
||||
httpsrequired(); // HTTPS is potentially required in this page
|
||||
|
||||
if (! $user = get_record("user", "id", $id)) {
|
||||
error("User ID was incorrect");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user