* [misc] code for sonar.

This commit is contained in:
sunguangming
2025-05-29 08:10:30 +00:00
parent 6bcfe9e758
commit b1b9b27ea4
6 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ class bugModel extends model
if(!empty($bug->assignedTo)) $this->action->create('bug', $bugID, 'Assigned', '', $bug->assignedTo);
/* Add score for create. */
$files = $this->loadModel('file')->saveUpload('bug', $bugID);
$this->loadModel('file')->saveUpload('bug', $bugID);
if(!empty($bug->case))
{
$this->loadModel('score')->create('bug', 'createFormCase', $bug->case);