[+BUGFIX]: Extbase (Persistence): Fixed typo from previous commit
authorBastian Waidelich <bastian@typo3.org>
Tue, 16 Nov 2010 13:12:35 +0000 (13:12 +0000)
committerBastian Waidelich <bastian@typo3.org>
Tue, 16 Nov 2010 13:12:35 +0000 (13:12 +0000)
typo3/sysext/extbase/Classes/Persistence/Mapper/DataMapper.php

index 651200d..3b70ca7 100644 (file)
@@ -461,7 +461,7 @@ class Tx_Extbase_Persistence_Mapper_DataMapper implements t3lib_Singleton {
                                        $propertyValue = $objects;
                                }
                        } elseif (strpos($propertyMetaData['type'], '_') !== FALSE) {
-                               if (is_object($result) && $result instanceof Tx_Extbase_Persistence_QueryInterface) {
+                               if (is_object($result) && $result instanceof Tx_Extbase_Persistence_QueryResultInterface) {
                                        $propertyValue = $result->getFirst();
                                        if ($propertyValue === FALSE) {
                                                $propertyValue = NULL;