mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 11:05:59 +02:00
Use lowercase L for ?locale= in TranslatableCMSMainExtension->updateLinkPageAdd()
This commit is contained in:
parent
03311b4d00
commit
d194b50b94
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user