Fixed Invalid model call in category watch

wang

Well-known member
Path to the file: XenResource_DataWriter_CategoryWatch

I think that XenForo_Model_CategoryWatch should be: XenResource_Model_CategoryWatch at the following bit of code:

PHP:
/**
     * @return XenResource_Model_CategoryWatch
     */
    protected function _getCategoryWatchModel()
    {
        return $this->getModelFromCache('XenForo_Model_CategoryWatch');
    }
 
Fixed now thanks. This can be worked around by passing in the existing data as "trusted" (which means fetching it for yourself). This is how all of the built in code handles it, hence it isn't triggered by default.
 
Back
Top Bottom