From 8a6affbc67f134ed252fa277129958d5bf05b919 Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Wed, 31 Jan 2024 14:51:23 +0800 Subject: [PATCH] * Fix bug #39332 --- module/message/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/message/model.php b/module/message/model.php index bfc843abd7..d08a0359ab 100755 --- a/module/message/model.php +++ b/module/message/model.php @@ -194,6 +194,7 @@ class messageModel extends model if(empty($toList) and $objectType == 'meeting') $toList = $object->host . $object->participant; if(empty($toList) and $objectType == 'mr') $toList = $object->createdBy . ',' . $object->assignee; if(empty($toList) and $objectType == 'demandpool') $toList = trim($object->owner, ',') . ',' . trim($object->reviewer, ','); + if(empty($toList) and $objectType == 'feedback') $toList = $object->openedBy; if(empty($toList) and $objectType == 'release') { /* Get notifiy persons. */ @@ -212,7 +213,6 @@ class messageModel extends model } if($toList == 'closed') $toList = ''; - if($objectType == 'feedback' and $object->status == 'replied') $toList = ',' . $object->openedBy . ','; if($objectType == 'story' and $actionID) { $action = $this->loadModel('action')->getById($actionID);