* Optimize code.

This commit is contained in:
wangyuting2
2023-01-31 08:25:31 +08:00
parent b75714f5b1
commit b4efdef521
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -3597,9 +3597,9 @@ class bugModel extends model
$ccList = substr($ccList, $commaPos + 1);
}
}
elseif(strtolower($toList) == 'closed')
elseif($bug->status == 'closed')
{
$toList = $bug->resolvedBy;
$ccList .= ',' . $bug->resolvedBy;
}
return array($toList, $ccList);