aboutsummaryrefslogtreecommitdiff
path: root/mod/invitefriends/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/invitefriends/start.php')
-rw-r--r--mod/invitefriends/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/invitefriends/start.php b/mod/invitefriends/start.php
index be853f2ce..368f6348a 100644
--- a/mod/invitefriends/start.php
+++ b/mod/invitefriends/start.php
@@ -33,7 +33,7 @@ function invitefriends_page_handler($page) {
gatekeeper();
elgg_set_context('friends');
- set_page_owner(elgg_get_logged_in_user_guid());
+ elgg_set_page_owner_guid(elgg_get_logged_in_user_guid());
$title = elgg_echo('friends:invite');