diff --git a/app/devices/device_edit.php b/app/devices/device_edit.php index 9e573bb271..c442a97980 100644 --- a/app/devices/device_edit.php +++ b/app/devices/device_edit.php @@ -762,7 +762,7 @@ if (permission_exists('device_line_register_expires')) { echo " ".$text['label-register_expires']."\n"; } - if (permission_exists('device_shared_line')) { + if (permission_exists('device_line_shared')) { echo " ".$text['label-shared_line']."\n"; } echo " ".$text['label-enabled']."\n"; @@ -905,7 +905,7 @@ echo " \n"; } - if (permission_exists('device_shared_line')) { + if (permission_exists('device_line_shared')) { echo " \n"; echo " \n"; echo " \n";