summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/perm.inc.php
diff options
context:
space:
mode:
authoralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-06-09 09:15:43 +0000
committeralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-06-09 09:15:43 +0000
commit03ee73a8cac0f30d4dfa7457f797b8c71be0e2c9 (patch)
treed27c30954e35af448cfb9825ff1951a26385c7eb /frontends/php/include/perm.inc.php
parent376f36eb955b1a1e2af4515f0c6ed176189b542c (diff)
downloadzabbix-03ee73a8cac0f30d4dfa7457f797b8c71be0e2c9.tar.gz
zabbix-03ee73a8cac0f30d4dfa7457f797b8c71be0e2c9.tar.xz
zabbix-03ee73a8cac0f30d4dfa7457f797b8c71be0e2c9.zip
- fixed bug in processing of host groups permissions (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@4261 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/perm.inc.php')
-rw-r--r--frontends/php/include/perm.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontends/php/include/perm.inc.php b/frontends/php/include/perm.inc.php
index aeea6c43..1d7415e9 100644
--- a/frontends/php/include/perm.inc.php
+++ b/frontends/php/include/perm.inc.php
@@ -281,7 +281,8 @@ COpt::counter_up('perm');
$group_data['permission'] = $nodes[$group_data['nodeid']]['permission'];
}
- $processed[$group_data['permission']] = true;
+// $processed[$group_data['permission']] = true;
+ $processed[$group_data['groupid']] = true;
if(eval('return ('.$group_data["permission"].' '.perm_mode2comparator($perm_mode).' '.$perm.')? 0 : 1;'))
continue;