From 06832bae483b7b804044e529ab73ae3747044ece Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 24 Jan 2013 10:52:35 +0000 Subject: [PATCH] Actually, that causes warnings in other versions; use the static version --- ext/user/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/user/main.php b/ext/user/main.php index b899b259..d0ac076f 100644 --- a/ext/user/main.php +++ b/ext/user/main.php @@ -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})"); }