Commit 772d2b6c authored by 梁俊杰's avatar 梁俊杰

抄送把接收人排除掉

parent a12dc829
......@@ -53,7 +53,8 @@ if (isset($users[$data['assignedTo']])) {
$userNames = [];
foreach ($list as $v) {
$userid_list[] = $users[$v]['userid'];
$userNames[] = $users[$v]['name'];
if ($v != $data['assignedTo'])
$userNames[] = $users[$v]['name'];
}
$userNames = array_unique($userNames);
$userNames = implode(",", $userNames);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment