From 8a8f73d81d81ed1382789a74bbca34abbe042663 Mon Sep 17 00:00:00 2001 From: markjcrane Date: Fri, 21 Aug 2015 15:43:40 -0600 Subject: [PATCH] Change the fax_extension to fax_destination_number. --- app/fax/fax_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/fax/fax_edit.php b/app/fax/fax_edit.php index 70243b2e25..8aef376ce1 100644 --- a/app/fax/fax_edit.php +++ b/app/fax/fax_edit.php @@ -101,7 +101,7 @@ else { } //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_extension = check_str($_POST["fax_extension"]); $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_uuid = $fax_uuid; $c->fax_description = $fax_description; - $c->destination_number = $fax_extension; + $c->destination_number = $fax_destination_number; $a = $c->dialplan(); //redirect the browser