* Fix deprecated feature of php8.

This commit is contained in:
zhouxin
2023-06-07 13:43:24 +08:00
parent 56385ba6f8
commit c2820a609a
+1 -1
View File
@@ -3761,7 +3761,7 @@ class storyModel extends model
{
/* Set toList and ccList. */
$toList = $story->assignedTo;
$ccList = str_replace(' ', '', trim($story->mailto, ','));
$ccList = isset($story->mailto) ? str_replace(' ', '', trim($story->mailto, ',')) : '';
/* If the action is changed or reviewed, mail to the project or execution team. */
if(strtolower($actionType) == 'changed' or strtolower($actionType) == 'reviewed')