From 0eb3063a211f5dc62c3964bd92bb720aace01ecf Mon Sep 17 00:00:00 2001 From: Martin Born Date: Mon, 10 Apr 2017 11:53:53 +0200 Subject: [PATCH] [BUGFIX] fix doctrine statement fetchAll method call --- .../extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php b/typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php index 669bcbb..f228b65 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php @@ -378,7 +378,7 @@ class Typo3DbBackend implements BackendInterface, SingletonInterface } catch (DBALException $e) { throw new SqlErrorException($e->getPrevious()->getMessage(), 1481281404); } - $rows = $result->fetchAll(); + $rows = $realStatement->fetchAll(); } elseif ($realStatement instanceof \TYPO3\CMS\Core\Database\PreparedStatement) { GeneralUtility::deprecationLog('Extbase support for Prepared Statements has been deprecated in TYPO3 v8, and will be removed in TYPO3 v9. Use native Doctrine DBAL Statements or QueryBuilder objects.'); $realStatement->execute($parameters); -- 2.6.4.windows.1