Change the permission to device_profile_view

This commit is contained in:
FusionPBX
2023-11-02 23:37:42 -06:00
committed by GitHub
parent fd2516a297
commit 9da5a10a77

View File

@@ -282,7 +282,7 @@
if (permission_exists('device_template')) {
$array['devices'][0]['device_template'] = $device_template;
}
if (permission_exists('device_profile_edit')) {
if (permission_exists('device_profile_view')) {
$array['devices'][0]['device_profile_uuid'] = is_uuid($device_profile_uuid) ? $device_profile_uuid : null;
}
if (permission_exists('device_description')) {