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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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