Fixed Unsetting xf_reaction column that doesn't exist


Well-known member
Affected version
In XF\Repository\Reaction->getReactionCacheData(), reaction_text is being unset for some reason, but it never existed (in any version of XenForo as far as I could find).

unset($cache[$reactionId]['sprite_mode'], $cache[$reactionId]['reaction_text']);

Maybe it was added with the intention of having text instead of images for reaction buttons, and that never materialized or something (although if that was the case, you'd probably not want to unset it in the cache)? It looks unnecessary to me at this point.
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.12).

Change log:
Remove reference to non-existent reaction_text column
There may be a delay before changes are rolled out to the XenForo Community.
Top Bottom