Merge pull request #275 from DrudexSoftware/patch-1
Invalid operator causing error
This commit is contained in:
commit
7768e94c7c
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@ class UserPage extends Extension {
|
|||
"INSERT INTO users (name, pass, joindate, email, class) VALUES (:username, :hash, now(), :email, :class)",
|
||||
array("username"=>$event->username, "hash"=>$hash, "email"=>$email, "class"=>$class));
|
||||
$uid = $database->get_last_insert_id('users_id_seq');
|
||||
$user = $user::by_name($event->username);
|
||||
$user = $user->by_name($event->username);
|
||||
log_info("user", "Created User #$uid ({$event->username})");
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue