fix login...
This commit is contained in:
parent
2d63534374
commit
9e1c144f57
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Reference in a new issue