[BUGFIX] Extbase: Pass parameter to real raw queries
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / Persistence / Generic / Storage / Typo3DbBackend.php
index 583f6b0..37df075 100644 (file)
@@ -385,7 +385,7 @@ class Typo3DbBackend implements BackendInterface, SingletonInterface
             // in the future
             try {
                 $connection = $this->connectionPool->getConnectionByName(ConnectionPool::DEFAULT_CONNECTION_NAME);
-                $statement = $connection->executeQuery($realStatement);
+                $statement = $connection->executeQuery($realStatement, $parameters);
             } catch (DBALException $e) {
                 throw new SqlErrorException($e->getPrevious()->getMessage(), 1472064775);
             }