Replaced invalid operator

Caused all images and some other pages to get the following error:
syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM
This commit is contained in:
Stijn Raeymaekers 2013-01-24 11:08:34 +01:00
parent 471bc1805a
commit 160bdb3553

View file

@ -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})");
}