diff --git a/app/calls/call_edit.php b/app/calls/call_edit.php index 757b8fd3a8..06d7da20ef 100644 --- a/app/calls/call_edit.php +++ b/app/calls/call_edit.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2019 + Portions created by the Initial Developer are Copyright (C) 2008-2020 the Initial Developer. All Rights Reserved. Contributor(s): @@ -62,7 +62,7 @@ $sql = "select * from v_extensions "; $sql .= "where domain_uuid = :domain_uuid "; $sql .= "and extension_uuid = :extension_uuid "; - if (!(permission_exists('follow_me') || permission_exists('call_forward') || permission_exists('do_not_disturb'))) { + if (!permission_exists('extension_edit')) { if (count($_SESSION['user']['extension']) > 0) { $sql .= "and ("; $x = 0;