diff --git a/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php b/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
index a28c8889a87c77a9b32e6fcb8d8efe86a272c557..55026bade2d34addaffa9469364e21c8432b38fa 100644
--- a/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
+++ b/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
@@ -6684,7 +6684,7 @@ class ContentObjectRenderer implements LoggerAwareInterface
             return $content;
         }
 
-        $editUid = $dataArray['_LOCALIZED_UID'] ?: $currentRecordUID;
+        $editUid = $dataArray['_LOCALIZED_UID'] ?? $currentRecordUID;
         // Edit icons imply that the editing action is generally allowed, assuming page and content element permissions permit it.
         if (!array_key_exists('allow', $conf)) {
             $conf['allow'] = 'edit';