aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2013-02-13 20:05:22 +0100
committerSem <sembrestels@riseup.net>2013-02-13 20:05:22 +0100
commit7d5f44d2792afe32a09d541b673ff84618a78d1a (patch)
treeeb99ad744f8aa95e79537ad6001b4d0e5b7ee62a /engine/lib
parent9a084e624ee1d42a19eefd5d46cd0b71c1bae339 (diff)
parentd3b87c92a0413fc4042e3582f678d9b5938a3508 (diff)
downloadelgg-7d5f44d2792afe32a09d541b673ff84618a78d1a.tar.gz
elgg-7d5f44d2792afe32a09d541b673ff84618a78d1a.tar.bz2
Merge branch 'username-urldecode' of git://github.com/sembrestels/Elgg into foxglove-2
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/pageowner.php2
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();