Needed to allow hangup action which has no data.

This commit is contained in:
FusionPBX
2022-07-20 09:40:23 -06:00
committed by GitHub
parent e65d483ef7
commit aa488eed01

View File

@@ -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];
}