aboutsummaryrefslogtreecommitdiff
path: root/entities/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'entities/index.php')
-rw-r--r--entities/index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/entities/index.php b/entities/index.php
index 9242ead53..68018bfff 100644
--- a/entities/index.php
+++ b/entities/index.php
@@ -40,11 +40,11 @@ if ($entity = get_entity($guid)) {
} else if ($entity instanceof ElggEntity) {
$title = $entity->name;
}
- $area2 = elgg_view_entity($entity,true);
+ $area1 = elgg_view_entity($entity,true);
if ($shell) {
- $body = elgg_view_layout('two_column_left_sidebar', '', $area2);
+ $body = elgg_view_layout('one_column_with_sidebar', $area1);
} else {
- $body = $area2;
+ $body = $area1;
}
} else {
$body = elgg_echo('notfound');