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

Discussion in 'Resolved Bug Reports' started by xfrocks, Apr 2, 2014.

  1. xfrocks

    xfrocks Well-Known Member

    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));
        }
        ...
    }
     
    Marcus likes this.
  2. Mike

    Mike XenForo Developer Staff Member

    Fixed, thanks.
     
    xfrocks likes this.

Share This Page