Skip to content

Commit eb497fd

Browse files
BUGFIX: Respect argument context when fetching root node
1 parent 6dd9928 commit eb497fd

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)