diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-06-24 07:32:27 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-06-24 07:32:27 -0400 |
commit | 9edc8c6004d1236a21e03fb1c820a6e749f1ee3b (patch) | |
tree | 3defb2dc56e726c314b4d92d43744faf4d52bd48 /views/default/river/item.php | |
parent | 344e47862b1f39eca19e39a000f97f799cc87a12 (diff) | |
parent | 5e02fd697fd15ae857aa0c2969fd9ea92043a55a (diff) | |
download | elgg-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.php | 10 |
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); +)); |