1
0
Fork 0
mirror of https://github.com/ThomasGsp/HyperProxmox.git synced 2025-03-09 15:40:18 +00:00

Fix empty group

This commit is contained in:
Tlams 2018-04-27 11:29:50 +01:00
parent a103aeb36b
commit 118ea63c1f

View file

@ -142,15 +142,18 @@ class API_Gen_HTML
}
foreach ($group_arr as $keygroup => $group)
{
if(!empty($keygroup))
{
$html = $html.'<li><a href="#">'.$keygroup.'<span class="fa arrow"></span></a>';
$html = $html.'<ul class="nav nav-third-level">';
foreach ($group as $cluster)
{;
{
$html = $html.'<li><a href="cluster.php?date='.$date.'&cluster='.$cluster.'">'.$cluster.'</a></li>';
}
$html = $html.'</ul></li>';
}
}
$html = $html.'';