From aa488eed011fabd7757514807a318f43afda4797 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 20 Jul 2022 09:40:23 -0600 Subject: [PATCH] Needed to allow hangup action which has no data. --- app/destinations/destination_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php index 1fe678181c..4c66c40c6b 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -432,7 +432,7 @@ //set the last destination_app and destination_data variables foreach($destination_actions as $action) { $action_array = explode(":", $action, 2); - if (isset($action_array[1]) && $action_array[1] != '') { + if (isset($action_array[0]) && $action_array[0] != '') { $destination_app = $action_array[0]; $destination_data = $action_array[1]; }