return empty string if no items in html list.

This commit is contained in:
Taylor Otwell
2012-04-19 08:45:56 -05:00
parent 09e456d2bf
commit 9a90d303c7

View File

@@ -306,6 +306,8 @@ class HTML {
{
$html = '';
if (count($list) == 0) return $html;
foreach ($list as $key => $value)
{
// If the value is an array, we will recurse the function so that we can