basic_fix.diff

Daniel Siepmann, 2016-07-20 08:53

Download (1.03 KB)

View differences:

typo3/sysext/core/Classes/DataHandling/DataHandler.php
1648 1648
                // This checks 1) if we should check for disallowed tables and 2) if there are records from disallowed tables on the current page
1649 1649
                $onlyAllowedTables = isset($GLOBALS['PAGES_TYPES'][$value]['onlyAllowedTables']) ? $GLOBALS['PAGES_TYPES'][$value]['onlyAllowedTables'] : $GLOBALS['PAGES_TYPES']['default']['onlyAllowedTables'];
1650 1650
                if ($onlyAllowedTables) {
1651
                    if ($table === 'pages_language_overlay' && $realPid !== -1) {
1652
                        $id = $realPid;
1653
                    }
1654

  
1651 1655
                    $theWrongTables = $this->doesPageHaveUnallowedTables($id, $value);
1652 1656
                    if ($theWrongTables) {
1653 1657
                        if ($this->enableLogging) {