* Fix bug 22061.

This commit is contained in:
zhengrunyu
2022-05-05 16:19:48 +08:00
parent b2f1929673
commit e7699d04f1
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))
{