* Fix bug #37725, change bug mailto is null error.

This commit is contained in:
caoyanyi
2023-08-29 16:16:04 +08:00
parent a78194f9fd
commit c3037906cc
+1 -1
View File
@@ -3602,7 +3602,7 @@ class bugModel extends model
{
/* Set toList and ccList. */
$toList = $bug->assignedTo;
$ccList = trim($bug->mailto, ',');
$ccList = $bug->mailto ? trim($bug->mailto, ',') : '';
if(empty($toList))
{
if(empty($ccList)) return false;