Merge pull request 'Changed logic in daily task report' (#1100) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 21s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 21s
Reviewed-on: #1100
This commit was merged in pull request #1100.
This commit is contained in:
@@ -107,7 +107,13 @@ class SendDailyTaskReport extends Command
|
||||
|
||||
// TO email
|
||||
if (!empty($mailRule->email)) {
|
||||
$toEmails[] = trim($mailRule->email);
|
||||
$toEmails = array_merge(
|
||||
$toEmails,
|
||||
array_map(
|
||||
'trim',
|
||||
explode(',', $mailRule->email)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
// CC emails
|
||||
|
||||
Reference in New Issue
Block a user