From 642fd913d38b8f30c47d7c99b71e04c2e99b8508 Mon Sep 17 00:00:00 2001 From: defacer <defacer> Date: Wed, 12 Jan 2005 11:33:45 +0000 Subject: [PATCH] Capitalized $user->sessionIP to $USER->sessionIP. Probably was a typo, considering the comment just above. --- admin/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/user.php b/admin/user.php index de3c81e813..e857cca059 100644 --- a/admin/user.php +++ b/admin/user.php @@ -63,7 +63,7 @@ $USER = $user; $USER->loggedin = true; $USER->sesskey = random_string(10); // for added security, used to check script parameters - $user->sessionIP = md5(getremoteaddr()); // Store the current IP in the session + $USER->sessionIP = md5(getremoteaddr()); // Store the current IP in the session $USER->site = $CFG->wwwroot; $USER->admin = true; $USER->teacher["$site->id"] = true; -- 2.39.5