Fix hosts without services being displayed in the servicematrix

refs #4180
This commit is contained in:
Johannes Meyer 2014-03-17 09:13:12 +01:00
parent c73928d7a8
commit 0227c6a49d
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,7 @@
<tbody>
<?php $hasHeader = true; ?>
<?php endif ?>
<?php if (count(array_filter(array_values($serviceStates)))): ?>
<tr>
<th>
<a href="<?= $this->href('monitoring/show/host', array('host' => $host_name)); ?>">
@ -53,6 +54,7 @@
</td>
<?php endforeach ?>
</tr>
<?php endif ?>
<?php endforeach ?>
</tbody>
</table>