Hide device information If the extension type is virtual
This commit is contained in:
parent
f93fd6b00c
commit
4e861b0dcb
|
|
@ -1274,7 +1274,7 @@
|
|||
echo "</tr>\n";
|
||||
}
|
||||
|
||||
if (permission_exists('device_edit')) {
|
||||
if (permission_exists('device_edit') && (empty($extension_type) || $extension_type != 'virtual')) {
|
||||
if (is_dir($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/app/devices')) {
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
|
|
|
|||
Loading…
Reference in New Issue