This commit is contained in:
caoyanyi
2022-03-21 10:39:41 +08:00
parent 8552a9a029
commit f2d6299356
3 changed files with 21 additions and 1 deletions
+4
View File
@@ -426,6 +426,10 @@ class task extends control
$changes = $this->task->update($taskID);
if(dao::isError()) return print(js::error(dao::getError()));
$files = $this->loadModel('file')->saveUpload('task', $taskID);
if(empty($files) and $this->post->uid != '')
{
$files = $this->file->getPairs($_SESSION['album']['used'][$this->post->uid]);
}
}
$task = $this->task->getById($taskID);