diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-20 08:42:25 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-20 08:42:25 +0000 |
| commit | 3f8cf5f0da75fa8312c173e9e2c1e1e843811091 (patch) | |
| tree | 1cb9f4841cb20bc2fd65a696181e70cbdf2cfb88 /frontends/php/include/config.inc.php | |
| parent | 2804bdc7c298f114802a93d7c3312370c8602ba0 (diff) | |
| download | zabbix-3f8cf5f0da75fa8312c173e9e2c1e1e843811091.tar.gz zabbix-3f8cf5f0da75fa8312c173e9e2c1e1e843811091.tar.xz zabbix-3f8cf5f0da75fa8312c173e9e2c1e1e843811091.zip | |
- [DEV-137] changes in users profile system (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5782 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/config.inc.php')
| -rw-r--r-- | frontends/php/include/config.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php index 7ea70118..9011da62 100644 --- a/frontends/php/include/config.inc.php +++ b/frontends/php/include/config.inc.php @@ -216,7 +216,7 @@ function TODO($msg) { echo "TODO: ".$msg.SBR; } // DEBUG INFO!!! $ZBX_NODES_IDS = array(); $ZBX_NODES = array(); if(!defined('ZBX_PAGE_NO_AUTHERIZATION') && ZBX_DISTRIBUTED){ - +//SDI($_REQUEST); $ZBX_CURRENT_NODEID = get_cookie('zbx_current_nodeid', $ZBX_LOCALNODEID); // Selected node $ZBX_WITH_SUBNODES = get_cookie('zbx_with_subnodes', false); // Show elements from subnodes @@ -285,7 +285,7 @@ function TODO($msg) { echo "TODO: ".$msg.SBR; } // DEBUG INFO!!! $result = ( is_show_subnodes($forse_with_subnodes) ? $ZBX_CURRENT_SUBNODES : $ZBX_CURRENT_NODEID ); if(!is_null($perm)){ - $result = get_accessible_nodes_by_user($USER_DETAILS, PERM_READ_ONLY); + $result = get_accessible_nodes_by_user($USER_DETAILS, PERM_READ_ONLY, PERM_RES_IDS_ARRAY, $ZBX_CURRENT_SUBNODES); } return $result; |
