[FrameworkBundle] fixed call to \Locale::getDefault()
This commit is contained in:
parent
08f8b223ff
commit
b38519bb23
@ -68,7 +68,7 @@ class FrameworkExtension extends Extension
|
||||
}
|
||||
|
||||
if (isset($config['i18n']) && $config['i18n']) {
|
||||
FormContext::setLocale(\Locale::get());
|
||||
FormContext::setLocale(\Locale::getDefault());
|
||||
}
|
||||
|
||||
if (isset($config['ide'])) {
|
||||
|
Reference in New Issue
Block a user