Use the destination_prefix permission

This commit is contained in:
FusionPBX 2022-11-01 12:07:56 -06:00 committed by GitHub
parent ef98de7a8f
commit acf3781bd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -923,7 +923,7 @@
$database->app_name = 'destinations';
$database->app_uuid = '5ec89622-b19c-3559-64f0-afde802ab139';
$database->save($array);
//$dialplan_response = $database->message;
//$response = $database->message;
//remove the temporary permission
$p->delete("dialplan_add", 'temp');
@ -1307,7 +1307,7 @@
echo "</tr>\n";
//destination number
if (permission_exists('destination_number')) {
if (permission_exists('destination_prefix')) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-destination_country_code']."\n";