diff --git a/library/Director/Dashboard/BranchesDashboard.php b/library/Director/Dashboard/BranchesDashboard.php index 13dd0a46..fe8b385c 100644 --- a/library/Director/Dashboard/BranchesDashboard.php +++ b/library/Director/Dashboard/BranchesDashboard.php @@ -29,6 +29,8 @@ class BranchesDashboard extends Dashboard /** @var BranchSupportHook $hook */ if ($hook = Hook::first('director/BranchSupport')) { $this->dashlets = $hook->loadDashlets($this->getDb()); + } else { + $this->dashlets = []; } } }