diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php index c1eb925e54..6d422b2543 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -655,7 +655,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { $label = explode("XML", $data); $divider = ($row['dialplan_detail_type'] != '') ? ":" : null; $detail_action = $row['dialplan_detail_type'].$divider.$row['dialplan_detail_data']; - $destination->select('dialplan', 'dialplan_details['.$x.'][dialplan_detail_data]', $detail_action); + echo $destination->select('dialplan', 'dialplan_details['.$x.'][dialplan_detail_data]', $detail_action); echo " \n"; echo " "; if (strlen($row['destination_uuid']) > 0) { diff --git a/app/ivr_menus/ivr_menu_edit.php b/app/ivr_menus/ivr_menu_edit.php index 8693b78845..48b68e717c 100644 --- a/app/ivr_menus/ivr_menu_edit.php +++ b/app/ivr_menus/ivr_menu_edit.php @@ -678,7 +678,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo " \n"; echo "\n"; echo "\n"; - $destination->select('ivr', 'ivr_menu_options['.$c.'][ivr_menu_option_param]', $destination_action); + echo $destination->select('ivr', 'ivr_menu_options['.$c.'][ivr_menu_option_param]', $destination_action); echo "\n"; echo "\n"; echo " \n"; echo " "; - // switch_select_destination("dialplan", $text['label-select_default_destination'], "default_preset_action", $dialplan_action, 'width: 300px;', '', 'alternate_destination_required();'); echo $destination->select('dialplan', 'default_preset_action', $dialplan_action); echo " "; echo " "; @@ -1037,7 +1033,6 @@ echo "\n"; echo " ".$text['label-alternate-destination']."\n"; echo "\n"; echo "\n"; -// switch_select_destination("dialplan", ' ', "dialplan_anti_action", $dialplan_anti_action, 'width: 300px;', ''); echo $destination->select('dialplan', 'dialplan_anti_action', $dialplan_anti_action); echo "\n"; echo "\n";