Bug #22071 » 13445.diff
typo3/class.webpagetree.php (working copy) | ||
---|---|---|
$uid = $rootRec['uid'];
|
||
// Add the root of the mount to ->tree
|
||
$this->tree[] = array('HTML'=>$firstHtml, 'row'=>$rootRec, 'bank'=>$this->bank, 'hasSub'=>true, 'invertedDepth'=>1000);
|
||
$this->tree[$rootRec['crdate']] = array('HTML'=>$firstHtml, 'row'=>$rootRec, 'bank'=>$this->bank, 'hasSub'=>true, 'invertedDepth'=>1000);
|
||
// If the mount is expanded, go down:
|
||
if ($isOpen) {
|
||
... | ... | |
$this->getTree($uid, 999, '', $rootRec['_SUBCSSCLASS']);
|
||
}
|
||
// Add tree:
|
||
ksort($treeArr);
|
||
$treeArr=array_merge($treeArr,$this->tree);
|
||
}
|
||
}
|