fix service lookup in lower-case

This commit is contained in:
Benoît Burnichon
2016-03-30 17:42:46 +02:00
parent 07993efb58
commit c8063fa136
3 changed files with 4 additions and 4 deletions

View File

@@ -129,7 +129,7 @@ class FieldsController extends Controller
{
$vocabularies = $this->getVocabularies();
$vocabulary = $vocabularies[$type];
$vocabulary = $vocabularies[strtolower($type)];
Assertion::isInstanceOf($vocabulary, ControlProviderInterface::class);