Skip to content

Commit

Permalink
[BUGFIX] Revert Use existing API instead of ContentObjectRenderer"
Browse files Browse the repository at this point in the history
This reverts commit 47e63fc
because of regressions.

Resolves: #89989
Reverts: #88344
Releases: master, 9.5
Change-Id: I1f43d0f343484366e81581435bdb418cfebf317a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64151
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
  • Loading branch information
georgringer authored and bmack committed Apr 20, 2020
1 parent ba71265 commit ae722d6
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -810,8 +810,8 @@ protected function prepareMenuItemsForDirectoryMenu($specialValue, $sortingField
$id = $mount_info['mount_pid'];
}
// Get sub-pages:
$rows = $this->sys_page->getMenu($id, '*', $sortingField);
foreach ($rows as $row) {
$statement = $this->parent_cObj->exec_getQuery('pages', ['pidInList' => $id, 'orderBy' => $sortingField]);
while ($row = $statement->fetch()) {
$tsfe->sys_page->versionOL('pages', $row, true);
if (!empty($row)) {
// Keep mount point?
Expand Down

0 comments on commit ae722d6

Please sign in to comment.