Merge branch 'app_zry' into 'master'
* Fix bug 21591. See merge request easycorp/zentaopms!2828
This commit is contained in:
@@ -465,10 +465,7 @@ 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]);
|
||||
}
|
||||
if(empty($files) and $this->post->uid != '') $files = $this->file->getPairs($_SESSION['album']['used'][$this->post->uid]);
|
||||
}
|
||||
|
||||
$task = $this->task->getById($taskID);
|
||||
|
||||
Reference in New Issue
Block a user