aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/views.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/views.php')
-rw-r--r--engine/lib/views.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php
index 495b04ae5..a0c052f70 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -1093,13 +1093,7 @@ function elgg_view_river_item($item) {
return '';
}
- $vars = array(
- 'image' => elgg_view('core/river/image', array('item' => $item)),
- 'body' => elgg_view('core/river/body', array('item' => $item)),
- 'image_alt' => elgg_view('core/river/controls', array('item' => $item)),
- 'class' => 'elgg-river-item',
- );
- return elgg_view('layout/objects/image_block', $vars);
+ return elgg_view('river/item', array('item' => $item));
}
/**