aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/pages/all.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-20 22:25:37 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-20 22:25:37 +0000
commit8dca382032b814a6670a227080c0f662fe1d2255 (patch)
treedca25f581929ab09428395c8ec72322f266d2995 /mod/bookmarks/pages/all.php
parenteda716aaf2f50d58f487209c9ea1dd9ddbea74c1 (diff)
downloadelgg-8dca382032b814a6670a227080c0f662fe1d2255.tar.gz
elgg-8dca382032b814a6670a227080c0f662fe1d2255.tar.bz2
Refs #2970 updated blog and bookmarks plugins
git-svn-id: http://code.elgg.org/elgg/trunk@8373 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/bookmarks/pages/all.php')
-rw-r--r--mod/bookmarks/pages/all.php6
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(