xf_phantom
Well-known member
PHP:
protected function _canUploadAndManageAttachments(array $contentData, array $viewingUser)
{
$resourceModel = $this->_getResourceModel();
if (!empty($contentData['resource_id']))
{
$resource = $resourceModel->getResourceById($attachment['content_id']);
if ($resource)
$attachment should be $contentData
I think nobody have run into this, because $contentData is always empty and the code is AFAIK never run.