[RSS Feed/News] Unsetting xf_reaction column that doesn't exist

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
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).

PHP:

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)...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom