monitoring: Drop unnecessary call to array_values in the servicegrid view script

refs #9538
This commit is contained in:
Eric Lippmann 2015-08-21 11:35:30 +02:00
parent 71b89ea51a
commit 5ae541db25
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ foreach ($serviceDescriptions as $serviceDescription): ?>
array('title' => sprintf($this->translate('List all reported services on host %s'), $hostName))
); ?>
</th>
<?php foreach (array_values($services) as $service): ?>
<?php foreach ($services as $service): ?>
<?php if ($service !== null): ?>
<td>
<span class="sr-only" id="<?= $service->host_name . '_' . $service->service_description . '_desc'; ?>">