Open Vitaliy-1 opened 3 years ago
$newSubmissionFile = clone $submissionFile; $newSubmissionFile->setData('fileStage', $fileStage); $newSubmissionFile->setData('sourceSubmissionFileId', $submissionFile->getId()); $newSubmissionFile = Services::get('submissionFile')->add($newSubmissionFile, Application::get()->getRequest());