Issue Bug Closed

#19447Folder icons in filelist file tree don't get skinned anymore

Francois Suter 10/10/08, 23:58 updated 07/02/10, 11:19

Description

In version 4.2.2 and trunk, the folders it the file tree of the File > List module don’t get properly skinned anymore.

This is due to a change copied from class.t3lib_foldertree.php to class.filelistfoldertree.php, but with an non-existing variable in the latter:

$icon = ‘gfx/i/_icon_’ .$webpath . ‘folders’ . ($type == ‘readonly’ ? ‘_ro’ : ‘’) . ‘.gif’;

but $webpath is undefined in class.filelistfoldertree.php. The solution is simply to define with the value there was before this variable was introduced:

$webpath = t3lib_BEfunc::getPathType_web_nonweb($path);

(issue imported from #M9535)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.