aboutsummaryrefslogtreecommitdiff
path: root/viewalbum.php
diff options
context:
space:
mode:
Diffstat (limited to 'viewalbum.php')
-rw-r--r--viewalbum.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/viewalbum.php b/viewalbum.php
index 4bdd1a2c7..602963816 100644
--- a/viewalbum.php
+++ b/viewalbum.php
@@ -45,11 +45,9 @@
true);
}
- // set title and body
- $title = $album->title;
- $area2 = elgg_view_title($title);
- $area2 .= elgg_view_entity($album, true);
+ // create body
+ $area2 = elgg_view_entity($album, true);
$body = elgg_view_layout('two_column_left_sidebar', '', $area2);
- page_draw($title, $body);
+ page_draw($album->title, $body);
?> \ No newline at end of file