return empty string if no items in html list.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user