diff --git a/typo3/sysext/core/Classes/DataHandling/DataHandler.php b/typo3/sysext/core/Classes/DataHandling/DataHandler.php index 1ce4703..de9825b 100644 --- a/typo3/sysext/core/Classes/DataHandling/DataHandler.php +++ b/typo3/sysext/core/Classes/DataHandling/DataHandler.php @@ -1648,6 +1648,10 @@ class DataHandler // This checks 1) if we should check for disallowed tables and 2) if there are records from disallowed tables on the current page $onlyAllowedTables = isset($GLOBALS['PAGES_TYPES'][$value]['onlyAllowedTables']) ? $GLOBALS['PAGES_TYPES'][$value]['onlyAllowedTables'] : $GLOBALS['PAGES_TYPES']['default']['onlyAllowedTables']; if ($onlyAllowedTables) { + if ($table === 'pages_language_overlay' && $realPid !== -1) { + $id = $realPid; + } + $theWrongTables = $this->doesPageHaveUnallowedTables($id, $value); if ($theWrongTables) { if ($this->enableLogging) {