diff --git a/app/fax/fax_edit.php b/app/fax/fax_edit.php index 77a473567a..8a23a3cf4c 100644 --- a/app/fax/fax_edit.php +++ b/app/fax/fax_edit.php @@ -931,7 +931,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo ""; echo "
"; echo "\n"; - } echo ""; diff --git a/app/fax/fax_send.php b/app/fax/fax_send.php index 12104e4e81..b016ba0bfd 100644 --- a/app/fax/fax_send.php +++ b/app/fax/fax_send.php @@ -213,7 +213,7 @@ function fax_split_dtmf(&$fax_number, &$fax_dtmf){ mkdir($_SESSION['switch']['storage']['dir'].'/fax'); chmod($_SESSION['switch']['storage']['dir'].'/fax',0774); } - if (count($_SESSION["domains"]) > 1 && !is_dir($_SESSION['switch']['storage']['dir'].'/fax/'.$_SESSION['domain_name'])) { + if (!is_dir($_SESSION['switch']['storage']['dir'].'/fax/'.$_SESSION['domain_name'])) { mkdir($_SESSION['switch']['storage']['dir'].'/fax/'.$_SESSION['domain_name']); chmod($_SESSION['switch']['storage']['dir'].'/fax/'.$_SESSION['domain_name'],0774); } @@ -238,7 +238,6 @@ function fax_split_dtmf(&$fax_number, &$fax_dtmf){ //clear file status cache clearstatcache(); - //send the fax $continue = false;