mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-15 07:35:01 +00:00
Fix destination edit so it will save again
This commit is contained in:
@@ -54,7 +54,7 @@ else {
|
||||
$dialplan_uuid = check_str($_POST["dialplan_uuid"]);
|
||||
$destination_type = check_str($_POST["destination_type"]);
|
||||
$destination_number = check_str($_POST["destination_number"]);
|
||||
$db_destination_number = check_str($_POST["destination_number"]);
|
||||
$db_destination_number = check_str($_POST["db_destination_number"]);
|
||||
$destination_caller_id_name = check_str($_POST["destination_caller_id_name"]);
|
||||
$destination_caller_id_number = check_str($_POST["destination_caller_id_number"]);
|
||||
$destination_context = check_str($_POST["destination_context"]);
|
||||
@@ -63,6 +63,9 @@ else {
|
||||
$destination_description = check_str($_POST["destination_description"]);
|
||||
}
|
||||
|
||||
//unset the db_destination_number
|
||||
unset($_POST["db_destination_number"]);
|
||||
|
||||
if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
|
||||
//get the uuid
|
||||
|
||||
Reference in New Issue
Block a user