From d194b50b942791467d4e53442bfa9dca144ba95d Mon Sep 17 00:00:00 2001 From: Zauberfisch Date: Mon, 28 Oct 2013 00:26:59 +0000 Subject: [PATCH] Use lowercase L for ?locale= in TranslatableCMSMainExtension->updateLinkPageAdd() --- code/controller/TranslatableCMSMainExtension.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}