#23008getSpriteIconForRecord() accepts row data which is not an array
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.