aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/album/full.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/object/album/full.php')
-rw-r--r--views/default/object/album/full.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/views/default/object/album/full.php b/views/default/object/album/full.php
index 4d2d8c88b..e350d2327 100644
--- a/views/default/object/album/full.php
+++ b/views/default/object/album/full.php
@@ -41,9 +41,13 @@ $params = array(
$params = $params + $vars;
$summary = elgg_view('object/elements/summary', $params);
-$body = elgg_view('output/longtext', array(
- 'value' => $album->description,
-));
+$body = '';
+if ($album->description) {
+ $body = elgg_view('output/longtext', array(
+ 'value' => $album->description,
+ 'class' => 'mbm',
+ ));
+}
$body .= elgg_list_entities(array(
'type' => 'object',
'subtype' => 'image',