Index: t3lib/class.t3lib_tceforms_inline.php =================================================================== --- t3lib/class.t3lib_tceforms_inline.php (revision 2451) +++ t3lib/class.t3lib_tceforms_inline.php (working copy) @@ -1087,7 +1093,7 @@ $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;