mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix top host/int/svc display for global read (level 5) users.
git-svn-id: http://www.observium.org/svn/observer/trunk@1843 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
if($_SESSION['userlevel'] == 10)
|
||||
if($_SESSION['userlevel'] >= 5)
|
||||
{
|
||||
$devices['count'] = mysql_result(mysql_query("SELECT count(*) FROM devices"),0);
|
||||
$devices['up'] = mysql_result(mysql_query("SELECT count(*) FROM devices WHERE status = '1' AND `ignore` = '0'"),0);
|
||||
|
Reference in New Issue
Block a user