diff --git a/modules/monitoring/application/views/scripts/list/servicegrid.phtml b/modules/monitoring/application/views/scripts/list/servicegrid.phtml index 6e66ae6ae..7136aaa43 100644 --- a/modules/monitoring/application/views/scripts/list/servicegrid.phtml +++ b/modules/monitoring/application/views/scripts/list/servicegrid.phtml @@ -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') . ''; return; }