' . $this->escape($this->translate('Please specify a filter')) . '
'; -} elseif ($hosts->hasResult()) { +if ($hosts->hasResult()) { foreach ($hosts->peekAhead($compact) as $host) { echo '';
diff --git a/application/views/scripts/list/services.phtml b/application/views/scripts/list/services.phtml
index 3a0e815..cf125b3 100644
--- a/application/views/scripts/list/services.phtml
+++ b/application/views/scripts/list/services.phtml
@@ -21,9 +21,7 @@ if (! $compact): ?>
getFilter()->isEmpty()) {
- echo '
' . $this->escape($this->translate('Please specify a filter')) . '
'; -} elseif ($services->hasResult()) { +if ($services->hasResult()) { foreach ($services->peekAhead($compact) as $service) { if (! $compact) { echo '