Project

General

Profile

Bug #22071 » 13445.diff

Administrator Admin, 2010-02-06 02:18

View differences:

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);
}
}
(1-1/2)