Extbase:
authorSebastian Kurfürst <sebastian@typo3.org>
Tue, 14 Jul 2009 18:24:26 +0000 (18:24 +0000)
committerSebastian Kurfürst <sebastian@typo3.org>
Tue, 14 Jul 2009 18:24:26 +0000 (18:24 +0000)
* fixed a potential bug in Persistence_Query. Please review @Jochen!

typo3/sysext/extbase/Classes/Persistence/Query.php

index a7b28df..e1f8d14 100644 (file)
@@ -322,8 +322,8 @@ class Tx_Extbase_Persistence_Query implements Tx_Extbase_Persistence_QueryInterf
                                Tx_Extbase_Persistence_QOM_QueryObjectModelConstantsInterface::JCR_OPERATOR_EQUAL_TO,
                                $this->QOMFactory->bindVariable($uniqueVariableName)
                                );
-
-                       $this->operands[uniqid($propertyName)] = $operand;
+                               
+                       $this->operands[$uniqueVariableName] = $operand;
                } else {
                        if ($caseSensitive) {
                                $comparison = $this->QOMFactory->comparison(