From cf2456caa366ccc66667481838c2bfd4883b5091 Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 29 Dec 2010 21:28:19 +0000 Subject: Fixes #2169 - setting the blog edit page owner to container git-svn-id: http://code.elgg.org/elgg/trunk@7757 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/blog/lib/blog.php | 1 + 1 file changed, 1 insertion(+) (limited to 'mod') diff --git a/mod/blog/lib/blog.php b/mod/blog/lib/blog.php index 4f401ed23..8a4ab7644 100644 --- a/mod/blog/lib/blog.php +++ b/mod/blog/lib/blog.php @@ -276,6 +276,7 @@ function blog_get_page_content_edit($page, $guid = 0, $revision = NULL) { if ($page == 'edit') { $blog = get_entity((int)$guid); + elgg_set_page_owner_guid($blog->getContainerGUID()); $title = elgg_echo('blog:edit'); -- cgit v1.2.3