diff --git a/app/calls/call_edit.php b/app/calls/call_edit.php
index a8e8b34847..b8f49bce95 100644
--- a/app/calls/call_edit.php
+++ b/app/calls/call_edit.php
@@ -539,7 +539,7 @@
echo "\n";
echo "\n";
- if (permission_exists('follow_me_cid_set')) {
+ 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 ";
$prep_statement_forward = $db->prepare(check_sql($sql_forward));
$prep_statement_forward->execute();
@@ -581,7 +581,7 @@
echo "
\n";
$on_click = "document.getElementById('forward_all_disabled').checked=true; ";
$on_click .= "document.getElementById('dnd_disabled').checked=true; ";
- if (permission_exists('follow_me_cid_set')) {
+ if (permission_exists('follow_me_caller_id')) {
$on_click .= "document.getElementById('follow_me_caller_id_uuid').focus(); ";
}
echo " \n";
@@ -652,7 +652,7 @@
echo " \n";
}
- if (permission_exists('follow_me_cid_set')) {
+ if (permission_exists('follow_me_caller_id')) {
$sql_follow_me = "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 ";
$prep_statement_follow_me = $db->prepare(check_sql($sql_follow_me));
$prep_statement_follow_me->execute();
|