Fixed bug #7748: IRRE - Storage page for combined child records not used
authorOliver Hader <oliver.hader@typo3.org>
Sat, 8 Mar 2008 12:03:17 +0000 (12:03 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Sat, 8 Mar 2008 12:03:17 +0000 (12:03 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3398 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tceforms_inline.php

index e65d371..43d8652 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-03-08  Oliver Hader  <oliver@typo3.org>
+
+       * Fixed bug #7748: IRRE - Storage page for combined child records not used
+
 2008-03-03  Dmitry Dulepov  <dmitry@typo3.org>
 
        * Follow up on bug #7588: respect TSConfig settings for cache clearing (patch by Helmut Hummel)
index 3062fe6..8168153 100755 (executable)
@@ -734,7 +734,7 @@ class t3lib_TCEforms_inline {
                                // 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