mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
added inventory masking for gui
git-svn-id: http://www.observium.org/svn/observer/trunk@338 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -79,7 +79,7 @@ echo("<li class=" . $select['graphs'] . ">
|
||||
</li>
|
||||
");
|
||||
|
||||
if(@mysql_result(mysql_query("SELECT * FROM `entPhysical` WHERE device_id = '".$_GET['id']."'"), 0) > '0') {
|
||||
if($config['enable_inventory'] && @mysql_result(mysql_query("SELECT * FROM `entPhysical` WHERE device_id = '".$_GET['id']."'"), 0) > '0') {
|
||||
|
||||
echo("<li class=" . $select['entphysical'] . ">
|
||||
<a href='/device/" . $device['device_id'] . "/entphysical/'>
|
||||
|
Reference in New Issue
Block a user