Permalink
Browse files

Merge pull request #70 from lrc/create-member-bugfix

BUGFIX Ensure members can be created with individual locale setting.
  • Loading branch information...
chillu committed Nov 15, 2012
2 parents 9032711 + a4df078 commit 6413eca05de13e82f0bd45d25dd0063ea23bda29
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/controller/TranslatableCMSMainExtension.php
@@ -81,8 +81,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 6413eca

Please sign in to comment.