Skip to content

Commit

Permalink
Fixed import with custom vocabs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Berthereau authored and Daniel Berthereau committed Sep 5, 2022
1 parent 977d675 commit 7c8dc75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mvc/Controller/Plugin/Bulk.php
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ public function getCustomVocabBaseType(string $name): ?string

if (is_null($customVocabTypes)) {
$customVocabTypes = [];
$types = $this->viewHelpers()->get('customVocabBaseType')();
$types = $this->services->get('ViewHelperManager')->get('customVocabBaseType')();
foreach ($types as $id => $type) {
$customVocabTypes[$id] = $type;
$customVocabTypes["customvocab:$id"] = $type;
Expand Down

0 comments on commit 7c8dc75

Please sign in to comment.