From 2525cf4d309efd58b1eb59fb821922ddd9a37015 Mon Sep 17 00:00:00 2001 From: AlexanderDCrane <40072887+AlexanderDCrane@users.noreply.github.com> Date: Fri, 31 Aug 2018 13:36:45 -0600 Subject: [PATCH] Update call_edit.php (#3384) --- app/calls/call_edit.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/calls/call_edit.php b/app/calls/call_edit.php index 2773555a06..315cacbb36 100644 --- a/app/calls/call_edit.php +++ b/app/calls/call_edit.php @@ -491,7 +491,7 @@ $on_click .= "document.getElementById('dnd_disabled').checked=true; "; $on_click .= "document.getElementById('forward_all_destination').focus(); "; echo " \n"; - echo " \n"; + echo " \n"; unset($on_click); echo " "; echo " \n"; @@ -507,7 +507,7 @@ $on_click = "document.getElementById('dnd_disabled').checked=true;"; $on_click .= "document.getElementById('forward_busy_destination').focus();"; echo " \n"; - echo " \n"; + echo " \n"; unset($on_click); echo " "; echo " \n"; @@ -547,7 +547,7 @@ echo "\n"; if (permission_exists('call_forward_caller_id')) { - $sql_forward = "select destination_uuid, destination_number, destination_description, destination_caller_id_number, destination_caller_id_name from v_destinations where domain_uuid = '$domain_uuid' and destination_type = 'inbound' order by destination_number asc "; + $sql_forward = "select destination_uuid, destination_number, destination_description, destination_caller_id_number, destination_caller_id_name from v_destinations where domain_uuid = '".escape($domain_uuid)."' and destination_type = 'inbound' order by destination_number asc "; $prep_statement_forward = $db->prepare(check_sql($sql_forward)); $prep_statement_forward->execute(); $result_forward = $prep_statement_forward->fetchAll(PDO::FETCH_ASSOC); @@ -592,7 +592,7 @@ $on_click .= "document.getElementById('follow_me_caller_id_uuid').focus(); "; } echo " \n"; - echo " \n"; + echo " \n"; unset($on_click); echo "\n"; echo "\n"; @@ -652,7 +652,7 @@ echo " \n"; echo "