* Fix jira.

This commit is contained in:
孙广明
2022-02-11 14:45:08 +08:00
parent 23411bf8a3
commit 0eee64a963
+1 -1
View File
@@ -971,7 +971,7 @@ class convertModel extends model
$file->addedDate = substr($fileAttachment->CREATED, 0, 19);
$this->dao->dbh($this->dbh)->insert(TABLE_FILE)->data($file)->exec();
$jiraFile = $this->app->getCacheRoot() . 'attachments/' . $filePaths[$issueID] . $fileID;
$jiraFile = $this->app->getTmpRoot() . 'attachments/' . $filePaths[$issueID] . $fileID;
if(is_file($jiraFile)) copy($jiraFile, $this->file->savePath . $file->pathname);
}
}