• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed XenForo_DataWriter_ForumWatch::_getExistingData

xfrocks

Well-known member
#1
The method populates data for table `xf_thread_watch` instead of `xf_forum_watch`

PHP:
class XenForo_DataWriter_ForumWatch extends XenForo_DataWriter
{
    ...
    protected function _getExistingData($data)
    {
        ...

        return array('xf_thread_watch' => $this->_getForumWatchModel()->getUserForumWatchByForumId($userId, $nodeId));
    }
    ...
}