Skip to content

Commit 276b28b

Browse files
authored
Merge pull request #29 from DrillSergeant/patch-1
BUGFIX: Respect argument context when fetching root node
2 parents a993040 + eb497fd commit 276b28b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Classes/Service/TaxonomyService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public function getVocabulary($vocabularyName, Context $context = null)
175175
$context = $this->contextFactory->create();
176176
}
177177

178-
$root = $this->getRoot();
178+
$root = $this->getRoot($context);
179179
return $root->getNode($vocabularyName);
180180
}
181181

0 commit comments

Comments
 (0)