From f2dde973095d79abcf35f2cd606ef00b8c2ecbe4 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Fri, 8 Aug 2025 09:22:55 +0000 Subject: [PATCH] * [bug#64623,done,0.2h] fix bug. --- module/bug/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/bug/model.php b/module/bug/model.php index f3e31b61ef..7103d112f8 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -613,7 +613,7 @@ class bugModel extends model if($changes || $files) { $fileAction = !empty($files) ? $this->lang->addFiles . implode(',', $files) . "\n" : ''; - $actionID = $this->loadModel('action')->create('bug', $bug->id, 'Activated', $fileAction . isset($bug->comment) ? $bug->comment : $this->post->comment); + $actionID = $this->loadModel('action')->create('bug', $bug->id, 'Activated', $fileAction . $this->post->comment); $this->action->logHistory($actionID, $changes); } if($this->config->edition != 'open' && $oldBug->feedback) $this->loadModel('feedback')->updateStatus('bug', $oldBug->feedback, $bug->status, $oldBug->status, $oldBug->id);