diff options
Diffstat (limited to 'mod/sitepages/sitepages_functions.php')
-rw-r--r-- | mod/sitepages/sitepages_functions.php | 3 |
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;
}
|