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

Duplicate Wrong variable used in XenResource_AttachmentHandler_Version

Discussion in 'Resource Manager Resolved Bugs' started by xf_phantom, May 5, 2013.

  1. xf_phantom

    xf_phantom Well-Known Member

    protected function _canUploadAndManageAttachments(array $contentData, array $viewingUser)
    $resourceModel $this->_getResourceModel();
    if (!empty(
    $resource $resourceModel->getResourceById($attachment['content_id']);
    if (

    $attachment should be $contentData

    I think nobody have run into this, because $contentData is always empty and the code is AFAIK never run.
  2. Mike

    Mike XenForo Developer Staff Member

Share This Page