Skip to content

Commit 7361577

Browse files
committed
Merge remote-tracking branch 'origin/1.3' into update-from-1.3
Conflicts: Admin/RouteAdmin.php Doctrine/Phpcr/LocaleListener.php
2 parents 9c746de + c4950dd commit 7361577

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)