diff --git a/code/controller/TranslatableCMSMainExtension.php b/code/controller/TranslatableCMSMainExtension.php index e209264..4a80fb4 100644 --- a/code/controller/TranslatableCMSMainExtension.php +++ b/code/controller/TranslatableCMSMainExtension.php @@ -155,7 +155,7 @@ class TranslatableCMSMainExtension extends Extension { function updateLinkPageAdd(&$link) { $locale = $this->owner->Locale ? $this->owner->Locale : Translatable::get_current_locale(); - if($locale) $link = Controller::join_links($link, '?Locale=' . $locale); + if($locale) $link = Controller::join_links($link, '?locale=' . $locale); } /** @@ -222,4 +222,4 @@ class TranslatableCMSMainExtension extends Extension { return SiteTree::has_extension('Translatable'); } -} \ No newline at end of file +}