aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/item.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-06-24 07:32:27 -0400
committerCash Costello <cash.costello@gmail.com>2011-06-24 07:32:27 -0400
commit9edc8c6004d1236a21e03fb1c820a6e749f1ee3b (patch)
tree3defb2dc56e726c314b4d92d43744faf4d52bd48 /views/default/river/item.php
parent344e47862b1f39eca19e39a000f97f799cc87a12 (diff)
parent5e02fd697fd15ae857aa0c2969fd9ea92043a55a (diff)
downloadelgg-9edc8c6004d1236a21e03fb1c820a6e749f1ee3b.tar.gz
elgg-9edc8c6004d1236a21e03fb1c820a6e749f1ee3b.tar.bz2
Merge pull request #35 - Fixes #3404, #3490
Diffstat (limited to 'views/default/river/item.php')
-rw-r--r--views/default/river/item.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/views/default/river/item.php b/views/default/river/item.php
index bf7c80b03..94622e272 100644
--- a/views/default/river/item.php
+++ b/views/default/river/item.php
@@ -7,10 +7,8 @@
$item = $vars['item'];
-$vars = array(
- 'image' => elgg_view('river/elements/image', array('item' => $item)),
- 'body' => elgg_view('river/elements/body', array('item' => $item)),
+echo elgg_view('page/components/image_block', array(
+ 'image' => elgg_view('river/elements/image', $vars),
+ 'body' => elgg_view('river/elements/body', $vars),
'class' => 'elgg-river-item',
-);
-
-echo elgg_view('page/components/image_block', $vars);
+));