Project

General

Profile

Actions

Bug #25020

closed

Red question marks in QuickEdit instead of icons.

Added by comtelsoft almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2011-02-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

TCEForms->getIconHTML() is_file fails (line 4159), when checking for a static image file from db_layout.php (Quickview).

PATH_typo3 . $iconArray0 is somthing like that:

/some/path/to/typo3/../../../sysext/t3skin/icons/gfx/i/tt_content_uploads.gif

Now t3lib_div::resolveBackPath clears it to /some/sysext/t3skin/icons/gfx/i/tt_content_uploads.gif but this path doesn't exist.

A solution for me now could be the following, but I am not sure if it has no sideeffects.

- if (is_file(t3lib_div::resolveBackPath(PATH_typo3 . $iconArray0))) {
+ if (is_file(t3lib_div::resolveBackPath(PATH_typo3 .$GLOBALS['temp_modPath']. $iconArray0))) {
(issue imported from #M17564)


Files

17564.diff (735 Bytes) 17564.diff Administrator Admin, 2011-02-13 14:33
Actions

Also available in: Atom PDF