aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/users.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index dcec36ba5..c16ae1176 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -1074,7 +1074,7 @@ function collections_submenu_items() {
*/
function friends_page_handler($page_elements) {
if (isset($page_elements[0]) && $user = get_user_by_username($page_elements[0])) {
- set_page_owner($user->getGUID());
+ elgg_set_page_owner_guid($user->getGUID());
}
if (elgg_get_logged_in_user_guid() == elgg_get_page_owner_guid()) {
collections_submenu_items();