From 8dca382032b814a6670a227080c0f662fe1d2255 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 20 Feb 2011 22:25:37 +0000 Subject: Refs #2970 updated blog and bookmarks plugins git-svn-id: http://code.elgg.org/elgg/trunk@8373 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/bookmarks/pages/edit.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'mod/bookmarks/pages/edit.php') diff --git a/mod/bookmarks/pages/edit.php b/mod/bookmarks/pages/edit.php index 7b055e699..24513a960 100644 --- a/mod/bookmarks/pages/edit.php +++ b/mod/bookmarks/pages/edit.php @@ -7,17 +7,13 @@ $bookmark_guid = get_input('guid'); $bookmark = get_entity($bookmark_guid); -$container_guid = (int) get_input('container_guid'); -$container = get_entity($container_guid); if (!elgg_instanceof($bookmark, 'object', 'bookmarks') || !$bookmark->canEdit()) { register_error(elgg_echo('bookmarks:unknown_bookmark')); forward(REFERRER); } -// for groups. -$container = $bookmark->getContainerEntity(); -elgg_set_page_owner_guid($container->getGUID()); +$page_owner = elgg_get_page_owner_entity(); $title = elgg_echo('bookmarks:edit'); elgg_push_breadcrumb($title); -- cgit v1.2.3