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 f3e4a0baa..1b1b0a0ed 100644
--- a/mod/invitefriends/start.php
+++ b/mod/invitefriends/start.php
@@ -30,7 +30,7 @@ function invitefriends_page_handler($page) {
gatekeeper();
elgg_set_context('friends');
- set_page_owner(get_loggedin_userid());
+ set_page_owner(elgg_get_logged_in_user_guid());
$title = elgg_echo('friends:invite');