diff --git a/typo3/sysext/core/Classes/DataHandling/DataHandler.php b/typo3/sysext/core/Classes/DataHandling/DataHandler.php
index 95d4a72d51dea6dc8a08de1234b59ed406b7eb45..755c07c5c903fb8728d67b33d40881e19eb44dca 100644
--- a/typo3/sysext/core/Classes/DataHandling/DataHandler.php
+++ b/typo3/sysext/core/Classes/DataHandling/DataHandler.php
@@ -5024,7 +5024,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