[+BUGFIX] Extbase (Persistence): Reverted a small change from Jochen, as I think...
authorSebastian Kurfürst <sebastian@typo3.org>
Mon, 14 Sep 2009 17:05:04 +0000 (17:05 +0000)
committerSebastian Kurfürst <sebastian@typo3.org>
Mon, 14 Sep 2009 17:05:04 +0000 (17:05 +0000)
typo3/sysext/extbase/Classes/Persistence/Backend.php

index 8e4a8ba..1fb1bd0 100644 (file)
@@ -435,6 +435,7 @@ class Tx_Extbase_Persistence_Backend implements Tx_Extbase_Persistence_BackendIn
                $dataMap = $this->dataMapper->getDataMap($className);
                foreach ($queuedChildObjects as $propertyName => $childObjects) {
                        $columnMap = $dataMap->getColumnMap($propertyName);
                $dataMap = $this->dataMapper->getDataMap($className);
                foreach ($queuedChildObjects as $propertyName => $childObjects) {
                        $columnMap = $dataMap->getColumnMap($propertyName);
+                       $childPidArray = array();
                        foreach($childObjects as $childObject) {
                                $this->persistObject($childObject, $object, $propertyName);
                                if ($childObject instanceof Tx_Extbase_DomainObject_DomainObjectInterface) {
                        foreach($childObjects as $childObject) {
                                $this->persistObject($childObject, $object, $propertyName);
                                if ($childObject instanceof Tx_Extbase_DomainObject_DomainObjectInterface) {