diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-02 20:28:11 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-02 20:28:11 +0000 |
commit | 8ec42e5baed7c375e07ac0832ab82cd33af987c8 (patch) | |
tree | f2b3d54d9fc5cc4b8f75ad303545d2ae8dcd7532 /engine/lib/views.php | |
parent | 6c05ecbda087860f152f6f40c169c01586aaf80f (diff) | |
download | elgg-8ec42e5baed7c375e07ac0832ab82cd33af987c8.tar.gz elgg-8ec42e5baed7c375e07ac0832ab82cd33af987c8.tar.bz2 |
Fixes #2846: elgg_view_river_item calls river/item view first.
git-svn-id: http://code.elgg.org/elgg/trunk@7991 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/views.php')
-rw-r--r-- | engine/lib/views.php | 8 |
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)); } /** |