mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 11:05:59 +02:00
BUG Avoid redirecting with duplicate ?locale param
This commit is contained in:
parent
13002cef9f
commit
c80f366dd6
@ -93,8 +93,7 @@ class TranslatableCMSMainExtension extends Extension {
|
||||
|
||||
$url = Controller::join_links(
|
||||
$this->owner->Link('show'),
|
||||
$translatedRecord->ID,
|
||||
'?locale=' . $langCode
|
||||
$translatedRecord->ID
|
||||
);
|
||||
|
||||
// set the X-Pjax header to Content, so that the whole admin panel will be refreshed
|
||||
|
Loading…
Reference in New Issue
Block a user