diff options
Diffstat (limited to 'mod/bookmarks/pages/all.php')
-rw-r--r-- | mod/bookmarks/pages/all.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mod/bookmarks/pages/all.php b/mod/bookmarks/pages/all.php index 5a01b6f34..f31464aca 100644 --- a/mod/bookmarks/pages/all.php +++ b/mod/bookmarks/pages/all.php @@ -5,11 +5,7 @@ * @package ElggBookmarks */ -$page_owner = elgg_get_page_owner_entity(); -if (!$page_owner) { - $page_owner = elgg_get_logged_in_user_guid(); - elgg_set_page_owner_guid($page_owner); -} +elgg_set_page_owner_guid(elgg_get_logged_in_user_guid()); $offset = (int)get_input('offset', 0); $content .= elgg_list_entities(array( |