Actions
Bug #23008
closedgetSpriteIconForRecord() accepts row data which is not an array
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
Updated by Ernesto Baschny about 11 years ago
- Target version deleted (
0) - Is Regression set to No
To add some info to this old issue:
The method getSpriteIconForRecord was introduced with 4.4.0.
The change of signature from this issue was introduced in 4.4.1 and 4.5.0. So only "4.4.0" (and some early alpha/beta releases) ever had this method with a "wrong signature".
Actions