Project

General

Profile

Bug #76977 ยป basic_fix.diff

Daniel Siepmann, 2016-07-20 08:53

View differences:

typo3/sysext/core/Classes/DataHandling/DataHandler.php
// 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) {
    (1-1/1)