Project

General

Profile

Actions

Bug #23008

closed

getSpriteIconForRecord() accepts row data which is not an array

Added by Jigal van Hemert over 14 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2010-06-26
Due date:
% Done:

0%

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

Description

t3lib_iconWorks::getSpriteIconForRecord() has as second parameter the data row for which the icon must be found.
If an integer is passed as argument this is not detected and various actions inside the function result in a wrong icon/overlay being returned.

By forcing the argument to be an array the results are correct.

(issue imported from #M14880)


Files

iconworks.diff (644 Bytes) iconworks.diff Administrator Admin, 2010-06-26 15:51

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #23306: DB browser is unusableClosedSteffen Ritter2010-07-29

Actions
Related to TYPO3 Core - Bug #23455: PHP Catchable Fatal on table 'be_users' during EXPORTClosedGeorg Ringer2010-08-26

Actions
Actions

Also available in: Atom PDF