]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #2730 - passing the vars array into elgg_view_list_item so that eventually...
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 23 Dec 2010 18:31:26 +0000 (18:31 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 23 Dec 2010 18:31:26 +0000 (18:31 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7712 36083f99-b078-4883-b0ff-0f9b5a30f544

views/default/layout/objects/list.php

index 84ba1414cae3cc19654d5cd6ca03042ab01df846..6d12c5e55d83b2778c392973d33070e19b6c62cf 100644 (file)
@@ -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>';