diff options
Diffstat (limited to 'engine/lib/views.php')
-rw-r--r-- | engine/lib/views.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php index 144a346f5..21d606e01 100644 --- a/engine/lib/views.php +++ b/engine/lib/views.php @@ -1094,12 +1094,8 @@ function elgg_view_latest_comments($owner_guid, $type = 'object', $subtype = '', 'pagination' => false, 'list_class' => 'elgg-latest-comments', )); - $params = array( - 'title' => $title, - 'body' => $body, - 'class' => 'elgg-module-aside', - ); - return elgg_view('layout/objects/module', $params); + + return elgg_view_module('aside', $title, $body); } /** |