Bug #22070 » 13444_v2.diff
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;
|