mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
monitoring: Use empty() for is empty check in the servicegrid view script
refs #9538
This commit is contained in:
parent
5ae541db25
commit
b629115ba7
@ -15,7 +15,7 @@ if (! $this->compact): ?>
|
||||
|
||||
$hasHeader = false;
|
||||
$pivotData = $this->pivot->toArray();
|
||||
if (count($pivotData) === 0) {
|
||||
if (empty($pivotData)) {
|
||||
echo $this->translate('No services found matching the filter') . '</div>';
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user