Project

General

Profile

Bug #24075 » 16413-v.2.diff

Patch 16413-v.2 for the Bug #24075 - Fedir RYKHTIK, 2011-12-22 15:21

View differences:

t3lib/class.t3lib_tceforms.php
// If the pid-value is not negative (that is, a pid could NOT be fetched)
if ($thePidValue >= 0) {
$RTEsetup = $GLOBALS['BE_USER']->getTSConfig('RTE', t3lib_BEfunc::getPagesTSconfig($tscPID));
$RTEtypeVal = t3lib_BEfunc::getTCAtypeValue($table, $row);
$thisConfig = t3lib_BEfunc::RTEsetup($RTEsetup['properties'], $table, $field, $RTEtypeVal);
if(!$specConf['richtext']['parameters']) {
$RTEsetup = $GLOBALS['BE_USER']->getTSConfig('RTE', t3lib_BEfunc::getPagesTSconfig($tscPID));
$thisConfig = t3lib_BEfunc::RTEsetup($RTEsetup['properties'], $table, $field, $RTEtypeVal);
} else {
$thisConfig = array();
}
if (!$thisConfig['disabled']) {
if (!$this->disableRTE) {
(2-2/3)