Fixed bug: IRRE - Deleted records are added to array of related records
authorOliver Hader <oliver.hader@typo3.org>
Wed, 6 Feb 2008 20:19:03 +0000 (20:19 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Wed, 6 Feb 2008 20:19:03 +0000 (20:19 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3105 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tceforms_inline.php

index 8f46deb..adb99ba 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-02-06  Oliver Hader  <oh@inpublica.de>
+
+       * (minor) Fixed bug: IRRE - Deleted records are added to array of related records
+
 2008-02-06  Stanislas Rolland  <stanislas.rolland@fructifor.ca>
 
        * Fixed bug #7419: htmlArea RTE: Localization error in Remove Format plugin
index 6392a65..3062fe6 100755 (executable)
@@ -1391,7 +1391,9 @@ class t3lib_TCEforms_inline {
                        // Perform modification of the selected items array:
                foreach($itemArray as $uid) {
                                // Get the records for this uid using t3lib_transferdata:
-                       $records[$uid] = $this->getRecord($pid, $table, $uid);
+                       if ($record = $this->getRecord($pid, $table, $uid)) {
+                               $records[$uid] = $record;
+                       }
                }
                return $records;
        }