aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r--engine/lib/users.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index a48170ce2..9ddb3bdf1 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -489,7 +489,7 @@
$user->password = md5($password);
$user->email = $email;
$user->name = $name;
- $register->access_id = 2;
+ $user->access_id = 2;
$user->save();
return $user->getGUID();