Correct the str_replace

This commit is contained in:
FusionPBX 2021-08-16 12:18:38 -06:00 committed by GitHub
parent aca358c0b7
commit 997bef41cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -238,7 +238,7 @@
}
$mail->SMTPDebug = 2;
//add informaiton to the log
//add information to the log
if (sizeof($headers)>0) {
foreach ($headers as $header => $value) {
echo $header.": ".$value."\n";
@ -263,7 +263,7 @@
//add the reciepients
$to = trim($to, "<>");
$to = str_replace(" ", $to);
$to = str_replace(" ", "", $to);
$to = str_replace(";", ",", $to);
$to_array = explode(",", $to);
if (count($to_array) == 0) {