Bug #17546 ยป class.t3lib_tceforms_inline.php.diff
t3lib/class.t3lib_tceforms_inline.php (working copy) | ||
---|---|---|
$trData->lockRecords=1;
|
||
$trData->disableRTE = $GLOBALS['SOBE']->MOD_SETTINGS['disableRTE'];
|
||
// if a new record should be created
|
||
$trData->fetchRecord($table, $uid, ($cmd === 'new' ? 'new' : ''));
|
||
$trData->fetchRecord($table, ($cmd === 'new' ? $pid : $uid), ($cmd === 'new' ? 'new' : ''));
|
||
reset($trData->regTableItems_data);
|
||
$rec = current($trData->regTableItems_data);
|
||
$rec['uid'] = $cmd == 'new' ? uniqid('NEW') : $uid;
|