Skip to content

Commit

Permalink
Fix enabled_locales behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
tgalopin committed May 31, 2020
1 parent 2af156d commit e2ce7f5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1094,7 +1094,7 @@ private function registerTranslatorConfiguration(array $config, ContainerBuilder
$defaultOptions['cache_dir'] = $config['cache_dir'];
$translator->setArgument(4, $defaultOptions);

$translator->setArgument(6, $config['enabled_locales']);
$translator->setArgument(5, $config['enabled_locales']);

$container->setParameter('translator.logging', $config['logging']);
$container->setParameter('translator.default_path', $config['default_path']);
Expand Down

0 comments on commit e2ce7f5

Please sign in to comment.