From: moodler Date: Tue, 9 Jan 2007 04:59:56 +0000 (+0000) Subject: LIkely fix for MDL-8067 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ff4220f5240823be64657da6dad1aefb35c0aa32;p=moodle.git LIkely fix for MDL-8067 --- diff --git a/user/edit.php b/user/edit.php index 9099265a9e..8dbfca0a7b 100644 --- a/user/edit.php +++ b/user/edit.php @@ -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"); }