Fax: Fixed an issue when multiple email addresses are defined in fax-to-email feature (was only sending email to the last address listed). Thx CraigH.

This commit is contained in:
Nate Jones 2015-05-15 20:33:39 +00:00
parent 7aacf2578c
commit 6e87e5ca86
1 changed files with 0 additions and 4 deletions

View File

@ -215,7 +215,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//escape the commas with a backslash and remove the spaces
$fax_email = str_replace(" ", "", $fax_email);
$fax_email = str_replace(",", "\\,", $fax_email);
//set the $php_bin
//if (file_exists(PHP_BINDIR."/php")) { $php_bin = 'php'; }
@ -574,9 +573,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//replace the dash with a space
$fax_name = str_replace("-", " ", $fax_name);
//remove the backslash
$fax_email = str_replace("\\", "", $fax_email);
//set the dialplan_uuid
if (strlen($dialplan_uuid) == 0) {
$dialplan_uuid = uuid();