Skip to content

Commit

Permalink
Fix for onlyCategories options broken #135
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornhij committed Jun 20, 2020
1 parent 218f41b commit f1fc5e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/scanners/ScannerFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f1fc5e1

Please sign in to comment.