* Fixed bug #12766: CSS in "User Settings" broken (thanks to Georg Ringer)
* Fixed bug #9766: Use correct memory limit definition in Install Tool (thanks to Steffen Mueller)
* Fixed bug #12830: Wrong encoding of JSON data in t3lib_PageRenderer
+ * Fixed bug #11395: TCAdefaults in Page TSConfig without effect on creating new element after existing one (thanks to Tolleiv Nietsch)
2009-11-26 Francois Suter <francois@typo3.org>
}
}
- $pageTS = t3lib_beFunc::getPagesTSconfig($id, true);
+ if ($id < 0) {
+ $record = t3lib_beFunc::getRecord ($table, abs($id), 'pid');
+ $pid = $record['pid'];
+ unset($record);
+ } else {
+ $pid = intval($id);
+ }
+
+ $pageTS = t3lib_beFunc::getPagesTSconfig($pid);
+
if (isset($pageTS['TCAdefaults.'])) {
$TCAPageTSOverride = $pageTS['TCAdefaults.'];
if (is_array($TCAPageTSOverride[$table.'.'])) {