From 25d3600a298c3d043dec6f3fb124556ae405ee47 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 25 Nov 2025 16:12:33 +0800 Subject: [PATCH] * [bug#67491,done,1.5h] Fix the issue where system notice do not take effect. --- module/bug/control.php | 1 + module/message/model.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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);