Skip to content

Commit

Permalink
Merge pull request #136 from bjornhij/master
Browse files Browse the repository at this point in the history
Fix for onlyCategories options broken #135
  • Loading branch information
moltam authored Jul 4, 2020
2 parents 218f41b + f1fc5e1 commit bc6d7c6
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 bc6d7c6

Please sign in to comment.