Commit a1c6fde6 authored by Christoph Hofmann's avatar Christoph Hofmann

PageTreeView fixed

parent 8c3c05d6
......@@ -197,7 +197,7 @@ class tx_realurl_tcemain {
$children = array();
/** @var $tree t3lib_pageTree */
$tree = TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('localPageTree');
$tree = TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\CMS\Backend\Tree\View\PageTreeView');
$tree->init('AND ' . $GLOBALS['BE_USER']->getPagePermsClause(1));
$this->makeHTML = FALSE;
$tree->getTree($pageId, 99, '');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment