diff options
Diffstat (limited to 'mod/file/pages')
-rw-r--r-- | mod/file/pages/file/owner.php | 4 | ||||
-rw-r--r-- | mod/file/pages/file/world.php | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/mod/file/pages/file/owner.php b/mod/file/pages/file/owner.php index 617e4c7f4..b7bfb00f8 100644 --- a/mod/file/pages/file/owner.php +++ b/mod/file/pages/file/owner.php @@ -56,9 +56,7 @@ if (!$content) { } $sidebar = file_get_type_cloud(elgg_get_page_owner_guid()); -if (elgg_instanceof($owner, 'user')) { - $sidebar .= elgg_view_latest_comments(elgg_get_page_owner_guid(), 'object', 'file'); -} +$sidebar = elgg_view('file/sidebar'); $params['content'] = $content; $params['title'] = $title; diff --git a/mod/file/pages/file/world.php b/mod/file/pages/file/world.php index a55dcb452..2cd942369 100644 --- a/mod/file/pages/file/world.php +++ b/mod/file/pages/file/world.php @@ -21,6 +21,7 @@ $content = elgg_list_entities(array( elgg_pop_context(); $sidebar = file_get_type_cloud(); +$sidebar = elgg_view('file/sidebar'); $body = elgg_view_layout('content', array( 'filter_context' => 'all', |