aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/views.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php
index 951210f5a..364f4618e 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -1060,7 +1060,12 @@ function elgg_view_latest_comments($owner_guid, $type = 'object', $subtype = '',
'pagination' => false,
'list_class' => 'elgg-latest-comments',
));
- return elgg_view('layout/objects/module', array('title' => $title, 'body' => $body));
+ $params = array(
+ 'title' => $title,
+ 'body' => $body,
+ 'class' => 'elgg-aside-module',
+ );
+ return elgg_view('layout/objects/module', $params);
}
/**
* Wrapper function for the image block display pattern.