|
@@ -8,6 +8,8 @@ class TaskNotification extends ActionBrowserNotificationAbstract
|
|
|
{
|
|
|
protected function userIDs(): array
|
|
|
{
|
|
|
- return $this->object->assign > 0 ? [$this->object->assign] : [];
|
|
|
+ $assignArray=$this->object->assign;
|
|
|
+ $mailtoArray=$this->object->mailto;
|
|
|
+ return (!empty($assignArray) || !empty($mailtoArray)) ? array_unique(array_merge($assignArray, $mailtoArray)) : [];
|
|
|
}
|
|
|
}
|