From: brettp Date: Tue, 9 Mar 2010 14:51:22 +0000 (+0000) Subject: Fixes #1956: Corrected typo for filtering by owner=username. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=6ffdc0db341bdcb1f9d16a1d370b38d4c3087391;p=lorea%2Felgg.git Fixes #1956: Corrected typo for filtering by owner=username. git-svn-id: http://code.elgg.org/elgg/trunk@5330 36083f99-b078-4883-b0ff-0f9b5a30f544 --- 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; }