Change the fax_extension to fax_destination_number.

This commit is contained in:
markjcrane
2015-08-21 15:43:40 -06:00
parent d781e2bb1b
commit 8a8f73d81d
+2 -2
View File
@@ -101,7 +101,7 @@ else {
} }
//get the http post values and set them as php variables //get the http post values and set them as php variables
if (count($_POST)>0) { if (count($_POST) > 0) {
$fax_name = check_str($_POST["fax_name"]); $fax_name = check_str($_POST["fax_name"]);
$fax_extension = check_str($_POST["fax_extension"]); $fax_extension = check_str($_POST["fax_extension"]);
$fax_accountcode = check_str($_POST["accountcode"]); $fax_accountcode = check_str($_POST["accountcode"]);
@@ -372,7 +372,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$c->fax_name = $fax_name; $c->fax_name = $fax_name;
$c->fax_uuid = $fax_uuid; $c->fax_uuid = $fax_uuid;
$c->fax_description = $fax_description; $c->fax_description = $fax_description;
$c->destination_number = $fax_extension; $c->destination_number = $fax_destination_number;
$a = $c->dialplan(); $a = $c->dialplan();
//redirect the browser //redirect the browser