From 7a3eefbb1759f8bb6e22e136a199326127557ee2 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Thu, 17 Aug 2023 11:32:27 +0200 Subject: [PATCH] HostsController: Check `! $compact` as in `ServicesContoller` --- application/controllers/HostsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/HostsController.php b/application/controllers/HostsController.php index d67f55a6..90da1e64 100644 --- a/application/controllers/HostsController.php +++ b/application/controllers/HostsController.php @@ -85,7 +85,7 @@ class HostsController extends Controller $hosts->peekAhead($compact); $this->filter($hosts, $filter); - if (isset($summary)) { + if (! $compact) { $this->filter($summary, $filter); yield $this->export($hosts, $summary); } else {