Project

General

Profile

Feature #18366 ยป 0007748.patch

Administrator Admin, 2008-03-08 12:19

View differences:

t3lib/class.t3lib_tceforms_inline.php (Arbeitskopie)
// if this is a new record, add a pid value to store this record and the pointer value for the intermediate table
if ($isNewRecord) {
$comboFormFieldName = $this->prependFormFieldNames.'['.$comboConfig['foreign_table'].']['.$comboRecord['uid'].'][pid]';
$out .= '<input type="hidden" name="'.$comboFormFieldName.'" value="'.$this->inlineFirstPid.'"/>';
$out .= '<input type="hidden" name="'.$comboFormFieldName.'" value="'.$comboRecord['pid'].'" />';
}
// if the foreign_selector field is also responsible for uniqueness, tell the browser the uid of the "other" side of the relation
    (1-1/1)