diff --git a/application/controllers/DashboardsController.php b/application/controllers/DashboardsController.php index 20e6d8af7..fc42fc06d 100644 --- a/application/controllers/DashboardsController.php +++ b/application/controllers/DashboardsController.php @@ -432,7 +432,8 @@ class DashboardsController extends CompatController { $tabs = $this->dashboard->getTabs(); $activeHome = $this->dashboard->getActiveHome(); - if (($activeHome && $activeHome->hasEntries()) || (! $activeHome->isDisabled() && count($this->dashboard->getEntries()) > 1)) { + if (($activeHome && $activeHome->hasEntries()) || + ($activeHome && ! $activeHome->isDisabled() && count($this->dashboard->getEntries()) > 1)) { $tabs->extend(new DashboardSettings()); }