From 01946ce16e0b4a80ee60789ba2617b6d596ef5fc Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Wed, 19 Feb 2014 06:17:38 +0000 Subject: [PATCH] Remove the spaces in the fax email address. --- app/fax/fax_edit.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/fax/fax_edit.php b/app/fax/fax_edit.php index fcc235a3c2..a2811f95f0 100644 --- a/app/fax/fax_edit.php +++ b/app/fax/fax_edit.php @@ -202,7 +202,8 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { return; } - //escape the commas with a backslash + //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