diff --git a/typo3/sysext/recordlist/Classes/LinkHandler/RecordLinkHandler.php b/typo3/sysext/recordlist/Classes/LinkHandler/RecordLinkHandler.php index 9ee27d6941cdc10c6529758cfbe16def8f05bb2a..4f702961d6bd2a20208ce1805f57d0f6f82ebeda 100644 --- a/typo3/sysext/recordlist/Classes/LinkHandler/RecordLinkHandler.php +++ b/typo3/sysext/recordlist/Classes/LinkHandler/RecordLinkHandler.php @@ -93,10 +93,10 @@ class RecordLinkHandler extends AbstractLinkHandler implements LinkHandlerInterf if ($record === null) { $linkParts['title'] = $this->getLanguageService()->getLL('recordNotFound'); } else { - $linkParts['tableName'] = $this->getLanguageService()->sL($GLOBALS['TCA'][$table]['ctrl']['title']); $linkParts['pid'] = (int)$record['pid']; $linkParts['title'] = !empty($linkParts['title']) ? $linkParts['title'] : BackendUtility::getRecordTitle($table, $record); } + $linkParts['tableName'] = $this->getLanguageService()->sL($GLOBALS['TCA'][$table]['ctrl']['title']); $linkParts['url']['type'] = $linkParts['type']; $this->linkParts = $linkParts;