aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-12-13 03:57:01 +0100
committerSem <sembrestels@riseup.net>2012-12-13 03:57:01 +0100
commit239c21dbb324f65e589647ec01b9e5cd98bf2c80 (patch)
treed16fb80839ab85c826b76dff8d62694e3d2608b4
parent712113b916777f3925d4e2fa9a69c901c3a443b7 (diff)
parentd3b87c92a0413fc4042e3582f678d9b5938a3508 (diff)
downloadelgg-239c21dbb324f65e589647ec01b9e5cd98bf2c80.tar.gz
elgg-239c21dbb324f65e589647ec01b9e5cd98bf2c80.tar.bz2
Merge branch 'username-urldecode' of github.com:sembrestels/Elgg into foxglove-1
-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 0cf0e0625..4d818797f 100644
--- a/engine/lib/pageowner.php
+++ b/engine/lib/pageowner.php
@@ -128,7 +128,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) {
return $user->getGUID();
}