Issue Bug Closed

#23008getSpriteIconForRecord() accepts row data which is not an array

Jigal van Hemert 06/26/10, 15:51 updated 09/17/13, 17:39

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.