Use lowercase L for ?locale= in TranslatableCMSMainExtension->updateLinkPageAdd()

This commit is contained in:
Zauberfisch 2013-10-28 00:26:59 +00:00
parent 03311b4d00
commit d194b50b94

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