diff --git a/typo3/sysext/backend/Classes/Controller/EditDocumentController.php b/typo3/sysext/backend/Classes/Controller/EditDocumentController.php index 40a4a2cb2f43748d986a2fbed52b810aea89a71d..eb7df29465beb6a8832bab27514dc2c97d4b9856 100644 --- a/typo3/sysext/backend/Classes/Controller/EditDocumentController.php +++ b/typo3/sysext/backend/Classes/Controller/EditDocumentController.php @@ -1649,7 +1649,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