aboutsummaryrefslogtreecommitdiff
path: root/mod/file/view.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-20 23:06:35 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-20 23:06:35 +0000
commit1429e80a1276a9081e4148076e2eac588e55a439 (patch)
tree9ebe52aa7a5c056a014187f39a6dc31c730833e7 /mod/file/view.php
parent02bf9ae5522c752aaa7bfac9b9562c634d35cef4 (diff)
downloadelgg-1429e80a1276a9081e4148076e2eac588e55a439.tar.gz
elgg-1429e80a1276a9081e4148076e2eac588e55a439.tar.bz2
Fixes #2970 updated groups, file, pages, and wire plugins for automatic page owner setting
git-svn-id: http://code.elgg.org/elgg/trunk@8376 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/file/view.php')
-rw-r--r--mod/file/view.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/file/view.php b/mod/file/view.php
index 72660c406..9e89fbd56 100644
--- a/mod/file/view.php
+++ b/mod/file/view.php
@@ -7,12 +7,11 @@
$file = get_entity(get_input('guid'));
-elgg_set_page_owner_guid($file->getContainerGUID());
$owner = elgg_get_page_owner_entity();
elgg_push_breadcrumb(elgg_echo('file'), 'pg/file/all');
-$crumbs_title = elgg_echo('blog:owned_blogs', array($owner->name));
+$crumbs_title = $owner->name;
if (elgg_instanceof($owner, 'group')) {
elgg_push_breadcrumb($crumbs_title, "pg/file/group/$owner->guid/owner");
} else {