diff --git a/typo3/sysext/core/Classes/DataHandling/DataHandler.php b/typo3/sysext/core/Classes/DataHandling/DataHandler.php
index 62f5640fa24628efd17e49c5c7f79693cfd7c140..4008f4724545fcc1224df3b7cb8cfe4fb73fe4e4 100644
--- a/typo3/sysext/core/Classes/DataHandling/DataHandler.php
+++ b/typo3/sysext/core/Classes/DataHandling/DataHandler.php
@@ -5375,7 +5375,7 @@ class DataHandler implements LoggerAwareInterface
             $updateFields = [
                 $deleteField => 1,
             ];
-            if ($GLOBALS['TCA'][$table]['ctrl']['tstamp']) {
+            if ($GLOBALS['TCA'][$table]['ctrl']['tstamp'] ?? false) {
                 $updateFields[$GLOBALS['TCA'][$table]['ctrl']['tstamp']] = $GLOBALS['EXEC_TIME'];
             }
             // before deleting this record, check for child records or references