aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-23 18:31:26 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-23 18:31:26 +0000
commitdaffa3118e5481abf39785dbb3e9db2c6ed2de73 (patch)
tree05644729a583274fc289bf81d8dffc120829e669
parent4baefc18f0d799d02d220360d2ccbb50d135c2d3 (diff)
downloadelgg-daffa3118e5481abf39785dbb3e9db2c6ed2de73.tar.gz
elgg-daffa3118e5481abf39785dbb3e9db2c6ed2de73.tar.bz2
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
-rw-r--r--views/default/layout/objects/list.php2
1 files changed, 1 insertions, 1 deletions
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 .= "<li id=\"$id\" class=\"$item_class\">";
- $html .= elgg_view_list_item($item, $full_view);
+ $html .= elgg_view_list_item($item, $full_view, $vars);
$html .= '</li>';
}
$html .= '</ul>';