diff --git a/typo3/sysext/backend/Classes/Controller/EditDocumentController.php b/typo3/sysext/backend/Classes/Controller/EditDocumentController.php index ce98bded14b259d0fbd789ca8f32ef9ecd2f3d47..452cda5a7427dab0fa8915b5a4d7b8bf7f9eb943 100644 --- a/typo3/sysext/backend/Classes/Controller/EditDocumentController.php +++ b/typo3/sysext/backend/Classes/Controller/EditDocumentController.php @@ -1623,7 +1623,7 @@ class EditDocumentController extends AbstractModule 'returnUrl' => $this->retUrl ]); - if ($currentLanguage === 0) { + if (array_key_exists(0, $rowsByLang)) { $href = BackendUtility::getLinkToDataHandlerAction( '&cmd[' . $table . '][' . $rowsByLang[0]['uid'] . '][localize]=' . $lang['uid'], $redirectUrl