When using multiple email addresses with faxing commas are used between email addresses. The commas must be escaped this change automatically does the escaping so the end user doesn't have to do it.
This commit is contained in:
@@ -202,6 +202,9 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
//escape the commas with a backslash
|
||||
$fax_email = str_replace(",", "\\,", $fax_email);
|
||||
|
||||
//set the $php_bin
|
||||
//if (file_exists(PHP_BINDIR."/php")) { $php_bin = 'php'; }
|
||||
if (substr(strtoupper(PHP_OS), 0, 3) == "WIN") {
|
||||
@@ -513,6 +516,9 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
unset ($prep_statement);
|
||||
}
|
||||
|
||||
//remove the backslash
|
||||
$fax_email = str_replace("\\", "", $fax_email);
|
||||
|
||||
//set the dialplan_uuid
|
||||
if (strlen($dialplan_uuid) == 0) {
|
||||
$dialplan_uuid = uuid();
|
||||
|
||||
Reference in New Issue
Block a user