From: cash Date: Thu, 23 Dec 2010 18:31:26 +0000 (+0000) Subject: Fixes #2730 - passing the vars array into elgg_view_list_item so that eventually... X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=daffa3118e5481abf39785dbb3e9db2c6ed2de73;p=lorea%2Felgg.git 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 --- 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 .= '';