Merge branch 'api_zry' into 'master'

* Fix bug 22061.

See merge request easycorp/zentaopms!3234
This commit is contained in:
孙广明
2022-05-05 08:22:46 +00:00
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -925,6 +925,7 @@ class bug extends control
}
}
$files = $this->loadModel('file')->saveUpload('bug', $bugID);
if(empty($files) and $this->post->uid != '' and isset($_SESSION['album']['used'][$this->post->uid])) $files = $this->file->getPairs($_SESSION['album']['used'][$this->post->uid]);
}
if($this->post->comment != '' or !empty($changes) or !empty($files))
{