From 68df93ca05f8e9b6fa3534fee96d1f70c0d588ce Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 16 Oct 2018 22:14:42 -0600 Subject: [PATCH] Update destination_edit.php --- app/destinations/destination_edit.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php index 9ff5f0f7ff..cbcdc8fcef 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -576,16 +576,12 @@ //remove empty dialplan details from the POST array unset($_POST["dialplan_details"]); - - //make sure the dialplan_uuid is set - if(strlen($_POST["dialplan_uuid"]) == 0) { - $_POST["dialplan_uuid"] = $dialplan_uuid; - } } //build the destination array $destination = $_POST; $destination["destination_uuid"] = $destination_uuid; + $destination["dialplan_uuid"] = $dialplan_uuid; if ($destination_type == 'inbound' || $destination_type == 'local') { $destination["dialplan_uuid"] = $dialplan_uuid; }