Project

General

Profile

Actions

Bug #101602

closed

PHP 8 warning in ContentObjectRenderer::editIcons

Added by Ian Solo over 1 year ago. Updated 5 months ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
-
Target version:
-
Start date:
2023-08-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

https://github.com/TYPO3/typo3/blob/879ef42aaa4e63447a3cda37b033fd25dc6f0116/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php#L6687C9-L6687C12
$editUid = $dataArray['_LOCALIZED_UID'] ?: $currentRecordUID;
should be
$editUid = $dataArray['_LOCALIZED_UID'] ?? $currentRecordUID;

Actions

Also available in: Atom PDF