diff --git a/services/scanners/ScannerFile.php b/services/scanners/ScannerFile.php index 535d410..083657e 100644 --- a/services/scanners/ScannerFile.php +++ b/services/scanners/ScannerFile.php @@ -270,7 +270,7 @@ private function _getRoots() protected function isValidCategory($category) { if ($this->module->onlyCategories) { - return in_array($category, $this->module->ignoredCategories); + return in_array($category, $this->module->onlyCategories); } if ($this->module->ignoredCategories) {