monitoring: Drop unnecessary call to array_values in the servicegrid view script
refs #9538
This commit is contained in:
parent
71b89ea51a
commit
5ae541db25
|
@ -72,7 +72,7 @@ foreach ($serviceDescriptions as $serviceDescription): ?>
|
||||||
array('title' => sprintf($this->translate('List all reported services on host %s'), $hostName))
|
array('title' => sprintf($this->translate('List all reported services on host %s'), $hostName))
|
||||||
); ?>
|
); ?>
|
||||||
</th>
|
</th>
|
||||||
<?php foreach (array_values($services) as $service): ?>
|
<?php foreach ($services as $service): ?>
|
||||||
<?php if ($service !== null): ?>
|
<?php if ($service !== null): ?>
|
||||||
<td>
|
<td>
|
||||||
<span class="sr-only" id="<?= $service->host_name . '_' . $service->service_description . '_desc'; ?>">
|
<span class="sr-only" id="<?= $service->host_name . '_' . $service->service_description . '_desc'; ?>">
|
||||||
|
|
Loading…
Reference in New Issue