aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/pages/world.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/pages/world.php b/mod/pages/world.php
index 2a7ea4be9..668100ad2 100644
--- a/mod/pages/world.php
+++ b/mod/pages/world.php
@@ -15,6 +15,9 @@ $content = elgg_list_entities(array(
'subtypes' => 'page_top',
'full_view' => false,
));
+if (!$content) {
+ $content = '<p>' . elgg_echo('pages:none') . '</p>';
+}
$body = elgg_view_layout('content', array(
'filter_context' => 'all',