[+BUGFIX] Extbase (Persistence): Fixed a regression introduced in r2208 where the...
authorJochen Rau <j.rau@web.de>
Tue, 25 May 2010 11:11:04 +0000 (11:11 +0000)
committerJochen Rau <j.rau@web.de>
Tue, 25 May 2010 11:11:04 +0000 (11:11 +0000)
typo3/sysext/extbase/Classes/Persistence/Backend.php

index 3270334..7867302 100644 (file)
@@ -652,8 +652,7 @@ class Tx_Extbase_Persistence_Backend implements Tx_Extbase_Persistence_BackendIn
         * @param Tx_Extbase_DomainObject_DomainObjectInterface $object The object to be insterted in the storage
         * @return void
         */
-       protected function insertObject(Tx_Extbase_DomainObject_DomainObjectInterface $object) {
-               $row = array();
+       protected function insertObject(Tx_Extbase_DomainObject_DomainObjectInterface $object, array $row = array()) {
                $dataMap = $this->dataMapper->getDataMap(get_class($object));
                $this->addCommonFieldsToRow($object, $row);
                if($dataMap->getLanguageIdColumnName() !== NULL) {