Project

General

Profile

Bug #17546 ยป class.t3lib_tceforms_inline.php.diff

Administrator Admin, 2007-08-21 01:48

View differences:

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;
    (1-1/1)