Project

General

Profile

Bug #24591 » patch_17056.diff

Administrator Admin, 2011-02-04 21:01

View differences:

t3lib/class.t3lib_tceforms.php (working copy)
$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);
}
(3-3/6)