fix login...

This commit is contained in:
Shish Moom 2009-06-06 12:04:33 -07:00
parent 2d63534374
commit 9e1c144f57

View file

@ -125,7 +125,7 @@ class UserPage extends SimpleExtension {
}
public function onUserPageBuilding(Event $event) {
global $user, $config;
global $page, $user, $config;
$this->theme->display_user_page($page, $event->display_user, $user);
if($user->id == $event->display_user->id) {
$ubbe = new UserBlockBuildingEvent();