Merge pull request #153 from Zauberfisch/master

Use lowercase L for ?locale= in TranslatableCMSMainExtension->updateLinkPageAdd()
This commit is contained in:
Ingo Schommer 2013-11-22 12:06:14 -08:00
commit 36c4125fbc

View File

@ -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);
}
/**