aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/pages/owner.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/bookmarks/pages/owner.php')
-rw-r--r--mod/bookmarks/pages/owner.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/bookmarks/pages/owner.php b/mod/bookmarks/pages/owner.php
index 1e45bc518..5b864ff48 100644
--- a/mod/bookmarks/pages/owner.php
+++ b/mod/bookmarks/pages/owner.php
@@ -10,7 +10,7 @@ elgg_push_breadcrumb(elgg_echo('bookmarks'), 'pg/bookmarks/all');
$page_owner = elgg_get_page_owner_entity();
if (!$page_owner) {
- $page_owner = get_loggedin_userid();
+ $page_owner = elgg_get_logged_in_user_guid();
elgg_set_page_owner_guid($page_owner);
}