diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/pageowner.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/pageowner.php b/engine/lib/pageowner.php index 94765feee..53134bf9f 100644 --- a/engine/lib/pageowner.php +++ b/engine/lib/pageowner.php @@ -140,7 +140,7 @@ function default_page_owner_handler($hook, $entity_type, $returnvalue, $params) switch ($segments[1]) { case 'owner': case 'friends': - $user = get_user_by_username($segments[2]); + $user = get_user_by_username(urldecode($segments[2])); if ($user) { elgg_set_ignore_access($ia); return $user->getGUID(); |