aboutsummaryrefslogtreecommitdiff
path: root/mod/file/pages
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-11-03 07:17:38 -0400
committerCash Costello <cash.costello@gmail.com>2011-11-03 07:17:38 -0400
commit21f67d2117ed460c7d8374c9b42348e2eea2b0f4 (patch)
treecdb6e1088c44a3da99e530f121be4329b34920b9 /mod/file/pages
parente66bfc0434876327e7993382041db51d21b60f42 (diff)
downloadelgg-21f67d2117ed460c7d8374c9b42348e2eea2b0f4.tar.gz
elgg-21f67d2117ed460c7d8374c9b42348e2eea2b0f4.tar.bz2
Fixes #4042 made sure empty content pages had a message about no content
Diffstat (limited to 'mod/file/pages')
-rw-r--r--mod/file/pages/file/world.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/file/pages/file/world.php b/mod/file/pages/file/world.php
index e438ca2f0..770dfd6e8 100644
--- a/mod/file/pages/file/world.php
+++ b/mod/file/pages/file/world.php
@@ -19,6 +19,9 @@ $content = elgg_list_entities(array(
'limit' => $limit,
'full_view' => FALSE
));
+if (!$content) {
+ $content = elgg_echo('file:none');
+}
$sidebar = file_get_type_cloud();
$sidebar = elgg_view('file/sidebar');