diff --git a/module/bug/control.php b/module/bug/control.php index 4f13759f5d..c1268590cd 100644 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -1626,7 +1626,8 @@ class bug extends control $files = $this->loadModel('file')->saveUpload('bug', $bugID); - $actionID = $this->action->create('bug', $bugID, 'Activated', $this->post->comment); + $fileAction = !empty($files) ? $this->lang->addFiles . join(',', $files) . "\n" : ''; + $actionID = $this->action->create('bug', $bugID, 'Activated', $fileAction . $this->post->comment); $this->action->logHistory($actionID, $changes); $this->executeHooks($bugID);