Index: t3lib/class.t3lib_tceforms.php =================================================================== --- t3lib/class.t3lib_tceforms.php (revision 10384) +++ t3lib/class.t3lib_tceforms.php (working copy) @@ -4140,9 +4140,15 @@ $selIconFile = $this->backPath . $icon; $selIconInfo = @getimagesize(PATH_typo3 . $icon); } else { - $selIconFile = t3lib_iconWorks::skinImg($this->backPath, 'gfx/' . $icon, '', 1); - $iconPath = substr($selIconFile, strlen($this->backPath)); - $selIconInfo = @getimagesize(PATH_typo3 . $iconPath); + if(strcmp ($icon,'empty-empty') == 0){ + $selIconFile = t3lib_iconWorks::skinImg($this->backPath, 'gfx/clear.gif', '', 1); + $iconPath = substr($selIconFile, strlen($this->backPath)); + $selIconInfo = @getimagesize(PATH_typo3 . $iconPath); + } else { + $selIconFile = t3lib_iconWorks::skinImg($this->backPath, 'gfx/' . $icon, '', 1); + $iconPath = substr($selIconFile, strlen($this->backPath)); + $selIconInfo = @getimagesize(PATH_typo3 . $iconPath); + } } return array($selIconFile, $selIconInfo); }