aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/pages
diff options
context:
space:
mode:
Diffstat (limited to 'mod/bookmarks/pages')
-rw-r--r--mod/bookmarks/pages/all.php2
-rw-r--r--mod/bookmarks/pages/owner.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/bookmarks/pages/all.php b/mod/bookmarks/pages/all.php
index 2bde462ba..3442f32c7 100644
--- a/mod/bookmarks/pages/all.php
+++ b/mod/bookmarks/pages/all.php
@@ -10,7 +10,7 @@ elgg_push_breadcrumb(elgg_echo('bookmarks'));
$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);
}
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);
}