mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Allowed comma-delimited list in smtp $to var to be consistent with standard mail delivery. Fixes #1353
This commit is contained in:
parent
b3f55bfd29
commit
7ed19eae88
1 changed files with 1 additions and 1 deletions
|
@ -861,7 +861,7 @@ class EmailComponent extends Component {
|
|||
}
|
||||
|
||||
if (!is_array($this->to)) {
|
||||
$tos = array($this->to);
|
||||
$tos = array_map('trim', explode(',', $this->to));
|
||||
} else {
|
||||
$tos = $this->to;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue