diff --git a/typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php b/typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php index 7cc90b7fb190..e7c8a2400610 100644 --- a/typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php +++ b/typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php @@ -640,7 +640,7 @@ protected function makeRef($table, $ref, ServerRequestInterface $request) $line['parentRecordTitle'] = $parentRecordTitle; $line['title'] = $lang->sL($GLOBALS['TCA'][$row['tablename']]['ctrl']['title']); $line['labelForTableColumn'] = $this->getLabelForTableColumn($row['tablename'], $row['field']); - $line['actions'] = $this->getRecordActions($row['tablename'], $row['recuid'], $request->getAttribute('normalizedParams')->getRequestUri()); + $line['actions'] = $this->getRecordActions($row['tablename'], $row['recuid'], $request); } else { $line['row'] = $row; $line['title'] = $lang->sL($GLOBALS['TCA'][$row['tablename']]['ctrl']['title']) ?: $row['tablename']; @@ -706,7 +706,7 @@ protected function makeRefFrom($table, $ref, ServerRequestInterface $request): a $line['recordTitle'] = BackendUtility::getRecordTitle($row['ref_table'], $record, false, true); $line['title'] = $lang->sL($GLOBALS['TCA'][$row['ref_table']]['ctrl']['title']); $line['labelForTableColumn'] = $this->getLabelForTableColumn($table, $row['field']); - $line['actions'] = $this->getRecordActions($row['ref_table'], $row['ref_uid'], $request->getAttribute('normalizedParams')->getRequestUri()); + $line['actions'] = $this->getRecordActions($row['ref_table'], $row['ref_uid'], $request); } else { $line['row'] = $row; $line['title'] = $lang->sL($GLOBALS['TCA'][$row['ref_table']]['ctrl']['title']);