diff options
Diffstat (limited to 'frontends/php/graphs.php')
-rw-r--r-- | frontends/php/graphs.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/graphs.php b/frontends/php/graphs.php index c1b8795c..270d4db8 100644 --- a/frontends/php/graphs.php +++ b/frontends/php/graphs.php @@ -111,7 +111,7 @@ include_once "include/page_header.php"; foreach($items as $gitem) { $host = DBfetch(DBselect('SELECT h.* FROM hosts h,items i WHERE h.hostid=i.hostid AND i.itemid='.$gitem['itemid'])); - if(in_array($host['hostid'], explode(',',$denyed_hosts))) + if(uint_in_array($host['hostid'], explode(',',$denyed_hosts))) { access_deny(); } |