diff --git a/module/bug/control.php b/module/bug/control.php index 2fa1cc29e4..2f03bf2dc2 100755 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -1373,6 +1373,7 @@ class bug extends control $bug->id = $bugID; $bug->storyVersion = $oldBug->latestStoryVersion; $this->bug->update($bug); + $this->loadModel('action')->create('bug', $bugID, 'confirmed', '', $oldBug->latestStoryVersion); $message = $this->executeHooks($bugID); diff --git a/module/message/model.php b/module/message/model.php index ffd51447e3..f7683365e7 100755 --- a/module/message/model.php +++ b/module/message/model.php @@ -274,7 +274,7 @@ class messageModel extends model if($toList == 'closed') $toList = ''; if($objectType == 'feedback' && $object->status == 'replied') $toList = ',' . $object->openedBy . ','; - if(in_array($objectType, array('story', 'epic', 'requirement', 'ticket', 'review', 'deploy', 'task', 'feedback', 'reviewissue')) && $actionID) + if(in_array($objectType, array('story', 'epic', 'requirement', 'ticket', 'review', 'deploy', 'task', 'feedback', 'reviewissue', 'bug')) && $actionID) { $action = $this->loadModel('action')->getById($actionID); $toAndCcList = $this->loadModel($objectType)->getToAndCcList($object, $action->action);