diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-29 21:28:19 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-29 21:28:19 +0000 |
commit | cf2456caa366ccc66667481838c2bfd4883b5091 (patch) | |
tree | e3ba4ad42844d7287c9a215efc90cb5b67a12687 /mod | |
parent | 93388a56331bcd34ad738ec2d2ba4ef3a826de2e (diff) | |
download | elgg-cf2456caa366ccc66667481838c2bfd4883b5091.tar.gz elgg-cf2456caa366ccc66667481838c2bfd4883b5091.tar.bz2 |
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
Diffstat (limited to 'mod')
-rw-r--r-- | mod/blog/lib/blog.php | 1 |
1 files changed, 1 insertions, 0 deletions
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'); |