From 98b0a55dcb5f0d68142edd65d0b00609ce79534e Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 4 Jan 2009 10:41:14 -0800 Subject: [PATCH] show the right user --- 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 825ffb22..38a33e7c 100644 --- a/ext/user/main.php +++ b/ext/user/main.php @@ -116,7 +116,7 @@ class UserPage implements Extension { if($event instanceof UserPageBuildingEvent) { global $user; global $config; - $this->theme->display_user_page($event->context->page, $event->context->user, $user); + $this->theme->display_user_page($event->context->page, $event->display_user, $user); if($user->id == $event->display_user->id) { $ubbe = new UserBlockBuildingEvent($event->display_user); send_event($ubbe);