Permalink
Browse files

BUGFIX Ensure members can be created with individual locale setting.

  • Loading branch information...
1 parent 1bb392c commit a4df078f9a190ee85f1354a511788210a0fa1f23 @drzax drzax committed Nov 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/controller/TranslatableCMSMainExtension.php
@@ -80,8 +80,8 @@ function init() {
}
function updateEditForm(&$form) {
- $siteConfig = SiteConfig::current_site_config();
if($form->getName() == 'RootForm' && Object::has_extension('SiteConfig',"Translatable")) {
+ $siteConfig = SiteConfig::current_site_config();
$form->Fields()->push(new HiddenField('Locale','', $siteConfig->Locale));
}
}

0 comments on commit a4df078

Please sign in to comment.