Commit 83b0264d authored by Michael Stucki's avatar Michael Stucki
Browse files

* Fixed a problem with a recent change in the filelist module


git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@667 709f56b5-9817-0410-a4d7-c38de5d9e867
parent 6dda6b6f
2005-04-24 Michael Stucki <michael@typo3.org>
* Fixed a problem with a recent change in the filelist module
2005-04-19 Martin Kutschker <martin.t.kutschker@blackbox.net>
......
......@@ -367,7 +367,12 @@ class fileList extends t3lib_recordList {
*/
function linkWrapDir($code,$path) {
$href = $this->script.'?id='.rawurlencode($path);
return '<a href="'.htmlspecialchars($href).'" title="'.htmlspecialchars($code).'">'.t3lib_div::fixed_lgd($code,$this->fixedL).'</a>';
if(!strcmp($code,strip_tags($code))) {
return '<a href="'.htmlspecialchars($href).'" title="'.htmlspecialchars($code).'">'.t3lib_div::fixed_lgd($code,$this->fixedL).'</a>';
} else {
return '<a href="'.htmlspecialchars($href).'">'.$code.'</a>';
}
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment