mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 11:05:59 +02:00
BUG Correct GET param name on context menu page add (fixes #45)
This commit is contained in:
parent
f404ad3325
commit
c3c9f1f83f
@ -120,7 +120,7 @@ class TranslatableCMSMainExtension extends Extension {
|
||||
}
|
||||
|
||||
function updateLinkPageAdd(&$link) {
|
||||
if($this->owner->Locale) $link = Controller::join_links($link, '?locale=' . $this->owner->Locale);
|
||||
if($this->owner->Locale) $link = Controller::join_links($link, '?Locale=' . $this->owner->Locale);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user