mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 09:05:59 +00:00
Merge pull request #153 from Zauberfisch/master
Use lowercase L for ?locale= in TranslatableCMSMainExtension->updateLinkPageAdd()
This commit is contained in:
commit
36c4125fbc
@ -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…
x
Reference in New Issue
Block a user