Skip to content

Commit

Permalink
Merge pull request #29 from DrillSergeant/patch-1
Browse files Browse the repository at this point in the history
BUGFIX: Respect argument context when fetching root node
  • Loading branch information
mficzel authored Nov 25, 2020
2 parents a993040 + eb497fd commit 276b28b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Service/TaxonomyService.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public function getVocabulary($vocabularyName, Context $context = null)
$context = $this->contextFactory->create();
}

$root = $this->getRoot();
$root = $this->getRoot($context);
return $root->getNode($vocabularyName);
}

Expand Down

0 comments on commit 276b28b

Please sign in to comment.