[FrameworkBundle] fixed call to \Locale::getDefault()

This commit is contained in:
Eriksen Costa 2011-01-24 23:48:03 -02:00 committed by Fabien Potencier
parent 08f8b223ff
commit b38519bb23

View File

@ -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'])) {