From daffa3118e5481abf39785dbb3e9db2c6ed2de73 Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 23 Dec 2010 18:31:26 +0000 Subject: Fixes #2730 - passing the vars array into elgg_view_list_item so that eventually plugins can pass additional parameters into list views git-svn-id: http://code.elgg.org/elgg/trunk@7712 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/layout/objects/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/default/layout/objects/list.php b/views/default/layout/objects/list.php index 84ba1414c..6d12c5e55 100644 --- a/views/default/layout/objects/list.php +++ b/views/default/layout/objects/list.php @@ -58,7 +58,7 @@ if (is_array($items) && count($items) > 0) { $id = "item-{$item->getType()}-{$item->id}"; } $html .= "
  • "; - $html .= elgg_view_list_item($item, $full_view); + $html .= elgg_view_list_item($item, $full_view, $vars); $html .= '
  • '; } $html .= ''; -- cgit v1.2.3