From d6953c9955b2b9e3c245936e448e7be41058bb9b Mon Sep 17 00:00:00 2001 From: Sem Date: Fri, 13 Jul 2012 09:53:15 +0200 Subject: Fixes #4687. Handle URLs on plugins that include only handler name. --- mod/profile/start.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mod/profile') diff --git a/mod/profile/start.php b/mod/profile/start.php index abe044632..ab596f235 100644 --- a/mod/profile/start.php +++ b/mod/profile/start.php @@ -56,6 +56,8 @@ function profile_page_handler($page) { $username = $page[0]; $user = get_user_by_username($username); elgg_set_page_owner_guid($user->guid); + } elseif (elgg_is_logged_in()) { + forward(elgg_get_logged_in_user_entity()->getURL()); } // short circuit if invalid or banned username -- cgit v1.2.3