diff options
Diffstat (limited to 'frontends/php/items.php')
| -rw-r--r-- | frontends/php/items.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/items.php b/frontends/php/items.php index f03db801..0d49e55e 100644 --- a/frontends/php/items.php +++ b/frontends/php/items.php @@ -161,7 +161,7 @@ include_once "include/page_header.php"; $showdisabled = get_request("showdisabled", 0); - $accessible_hosts = get_accessible_hosts_by_user($USER_DETAILS,PERM_READ_WRITE,null,null,$ZBX_CURNODEID); + $accessible_hosts = get_accessible_hosts_by_user($USER_DETAILS,PERM_READ_WRITE,null,null,get_current_nodeid()); if(isset($_REQUEST['hostid']) && !in_array($_REQUEST['hostid'], explode(',',$accessible_hosts))) { |
