diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-20 22:25:37 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-20 22:25:37 +0000 |
commit | 8dca382032b814a6670a227080c0f662fe1d2255 (patch) | |
tree | dca25f581929ab09428395c8ec72322f266d2995 /mod/bookmarks/pages/view.php | |
parent | eda716aaf2f50d58f487209c9ea1dd9ddbea74c1 (diff) | |
download | elgg-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/view.php')
-rw-r--r-- | mod/bookmarks/pages/view.php | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/mod/bookmarks/pages/view.php b/mod/bookmarks/pages/view.php index 131a0b52b..b5a857857 100644 --- a/mod/bookmarks/pages/view.php +++ b/mod/bookmarks/pages/view.php @@ -7,15 +7,14 @@ $bookmark = get_entity(get_input('guid')); -elgg_set_page_owner_guid($bookmark->getContainerGUID()); -$owner = elgg_get_page_owner_entity(); +$page_owner = elgg_get_page_owner_entity(); -$crumbs_title = $owner->name; +$crumbs_title = $page_owner->name; -if (elgg_instanceof($owner, 'group')) { - elgg_push_breadcrumb($crumbs_title, "pg/bookmarks/group/$owner->guid/owner"); +if (elgg_instanceof($page_owner, 'group')) { + elgg_push_breadcrumb($crumbs_title, "pg/bookmarks/group/$page_owner->guid/owner"); } else { - elgg_push_breadcrumb($crumbs_title, "pg/bookmarks/owner/$owner->username"); + elgg_push_breadcrumb($crumbs_title, "pg/bookmarks/owner/$page_owner->username"); } $title = $bookmark->title; |