diff --git a/library/Director/Health.php b/library/Director/Health.php index 56106834..bf783e9a 100644 --- a/library/Director/Health.php +++ b/library/Director/Health.php @@ -212,7 +212,7 @@ class Health { $check = new CheckResults('Director Jobs'); $jobs = DirectorJob::loadAll($this->getConnection()); - if (empty($sources)) { + if (empty($jobs)) { $check->warn('No Jobs have been defined'); return $check; }