Skip to content

Commit 92c6b4b

Browse files
committed
Merge pull request #329 from symfony-cmf/update-from-1.3
Update master from 1.3
2 parents 9c746de + 7361577 commit 92c6b4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Admin/RouteAdmin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ protected function configureFieldsForDefaults($dynamicDefaults)
174174
$defaults['_format'] = array('_format', Sf2CompatUtil::getFormTypeName('text'), array('required' => true));
175175
}
176176
if ($route && $route->getOption('add_locale_pattern')) {
177-
$defaults['_locale'] = array('_format', Sf2CompatUtil::getFormTypeName('text'), array('required' => false));
177+
$defaults['_locale'] = array('_locale', Sf2CompatUtil::getFormTypeName('text'), array('required' => false));
178178
}
179179

180180
return $defaults;

0 commit comments

Comments
 (0)