BUG Avoid redirecting with duplicate ?locale param

This commit is contained in:
Ingo Schommer 2012-08-07 23:01:39 +02:00
parent 13002cef9f
commit c80f366dd6
1 changed files with 1 additions and 2 deletions

View File

@ -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