aboutsummaryrefslogtreecommitdiff
path: root/mod/sitepages/sitepages_functions.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-09 14:51:22 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-09 14:51:22 +0000
commit6ffdc0db341bdcb1f9d16a1d370b38d4c3087391 (patch)
tree1216124c114abfc2885d0fa1bc8da6906fc56faa /mod/sitepages/sitepages_functions.php
parent2417a810cb3799ade1be23b1de88349a3fb1d701 (diff)
downloadelgg-6ffdc0db341bdcb1f9d16a1d370b38d4c3087391.tar.gz
elgg-6ffdc0db341bdcb1f9d16a1d370b38d4c3087391.tar.bz2
Fixes #1956: Corrected typo for filtering by owner=username.
git-svn-id: http://code.elgg.org/elgg/trunk@5330 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/sitepages/sitepages_functions.php')
-rw-r--r--mod/sitepages/sitepages_functions.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/sitepages/sitepages_functions.php b/mod/sitepages/sitepages_functions.php
index 000a5eb1a..20e7cb0b6 100644
--- a/mod/sitepages/sitepages_functions.php
+++ b/mod/sitepages/sitepages_functions.php
@@ -202,13 +202,12 @@ function sitepages_keywords_parse_entity_params($string) {
// handle some special cases
if (isset($params['owner'])) {
if ($user = get_user_by_username($params['owner'])) {
- $options['owner_guid'] = $user->getGUID();
+ $params['owner_guid'] = $user->getGUID();
}
}
// @todo probably need to add more for
// group -> container_guid, etc
-
return $params;
}