Project

General

Profile

Bug #22070 » 13444_v2.diff

Administrator Admin, 2010-02-06 15:51

View differences:

typo3/class.filelistfoldertree.php (working copy)
// Init done:
$titleLen = intval($this->BE_USER->uc['titleLen']);
$treeArr = array();
$mountSortKey = 'name';
// sort mounts by key "name"
uasort($this->MOUNTS, create_function('$a, $b','\'' . $mountSortKey . '\';
if( ($c = strcasecmp($a[\'' . $mountSortKey . '\'], $b[\'' . $mountSortKey . '\'])) !== 0 ) {
return($c);
}
return($c); ')
);
// Traverse mounts:
foreach($this->MOUNTS as $key => $val) {
$hasSub = false;
(2-2/4)