mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 12:33:26 +00:00
fix service lookup in lower-case
This commit is contained in:
@@ -129,7 +129,7 @@ class FieldsController extends Controller
|
||||
{
|
||||
$vocabularies = $this->getVocabularies();
|
||||
|
||||
$vocabulary = $vocabularies[$type];
|
||||
$vocabulary = $vocabularies[strtolower($type)];
|
||||
|
||||
Assertion::isInstanceOf($vocabulary, ControlProviderInterface::class);
|
||||
|
||||
|
Reference in New Issue
Block a user