From b8a270b2294feb0441eaf75d45a9ece3be7c2c5b Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sun, 8 Apr 2018 12:07:38 -0600 Subject: [PATCH] Update call_center_queue_edit.php --- app/call_centers/call_center_queue_edit.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/call_centers/call_center_queue_edit.php b/app/call_centers/call_center_queue_edit.php index 5c4efbb568..7e1623b005 100644 --- a/app/call_centers/call_center_queue_edit.php +++ b/app/call_centers/call_center_queue_edit.php @@ -219,8 +219,9 @@ //get the application and data $action_array = explode(":",$queue_timeout_action); - $queue_timeout_application = $action_array[0]; - $queue_timeout_data = substr($queue_timeout_action, strlen($action_array[0])+1, strlen($queue_timeout_application)); + $queue_timeout_app = $action_array[0]; + unset($action_array[0]); + $queue_timeout_data = implode($action_array); //build the xml dialplan $dialplan_xml = "\n"; @@ -237,7 +238,7 @@ $dialplan_xml .= " \n"; } $dialplan_xml .= " \n"; - $dialplan_xml .= " \n"; + $dialplan_xml .= " \n"; $dialplan_xml .= " \n"; $dialplan_xml .= "\n";