return empty string if no items in html list.
This commit is contained in:
parent
09e456d2bf
commit
9a90d303c7
|
@ -306,6 +306,8 @@ private static function listing($type, $list, $attributes = array())
|
|||
{
|
||||
$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
|
||||
|
|
Loading…
Reference in New Issue