[+BUGFIX] Extbase (Persistence): Fixed a regression where objects were retrieved...
authorJochen Rau <j.rau@web.de>
Wed, 10 Mar 2010 15:54:06 +0000 (15:54 +0000)
committerJochen Rau <j.rau@web.de>
Wed, 10 Mar 2010 15:54:06 +0000 (15:54 +0000)
typo3/sysext/extbase/Classes/Persistence/Storage/Typo3DbBackend.php

index e805042..8524e66 100644 (file)
@@ -368,7 +368,7 @@ class Tx_Extbase_Persistence_Storage_Typo3DbBackend implements Tx_Extbase_Persis
                if ($source instanceof Tx_Extbase_Persistence_QOM_SelectorInterface) {
                        $tableName = $source->getSelectorName();
                        $sql['fields'][] = $tableName . '.*';
-                       $sql['tables'][] = $tableName;
+                       $sql['tables'][$tableName] = $tableName;
                } elseif ($source instanceof Tx_Extbase_Persistence_QOM_JoinInterface) {
                        $this->parseJoin($source, $sql);
                }