[BUGFIX] Remove duplicate $queryBuilder->execute() call in PageLayoutView 54/49154/2
authorWouter Wolters <typo3@wouterwolters.nl>
Thu, 21 Jul 2016 14:05:02 +0000 (16:05 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Thu, 21 Jul 2016 16:46:20 +0000 (18:46 +0200)
Resolves: #77199
Releases: master
Change-Id: Ibe45040bc12f4705b0e28479785f4e003ff80c90
Reviewed-on: https://review.typo3.org/49154
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/backend/Classes/View/PageLayoutView.php

index 39b0efe..e27906a 100644 (file)
@@ -1170,7 +1170,7 @@ class PageLayoutView extends \TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRe
                 $additionalWhereClause
             ]
         );
-        $result = $queryBuilder->execute();
+
         // Traverse any selected elements and render their display code:
         $result = $queryBuilder->execute();