monitoring: Use empty() for is empty check in the servicegrid view script

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

View File

@ -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;
}