From 6e87e5ca8628fd4ce3c77250b943f109244cb8ad Mon Sep 17 00:00:00 2001 From: Nate Jones Date: Fri, 15 May 2015 20:33:39 +0000 Subject: [PATCH] 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. --- app/fax/fax_edit.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/fax/fax_edit.php b/app/fax/fax_edit.php index 787e9e36e3..e4895cfd07 100644 --- a/app/fax/fax_edit.php +++ b/app/fax/fax_edit.php @@ -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();