summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/hosts.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-05-31 07:41:24 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-05-31 07:41:24 +0000
commitc28d86f5ee7cddfde35cc61daa9a726e2e68509b (patch)
treeb68d2a0c6f5f3b7071c8062139573fd3d24611a6 /frontends/php/include/hosts.inc.php
parent4ce0c92b675da5d30bab11464ae51b7bd9b51a1a (diff)
downloadzabbix-c28d86f5ee7cddfde35cc61daa9a726e2e68509b.tar.gz
zabbix-c28d86f5ee7cddfde35cc61daa9a726e2e68509b.tar.xz
zabbix-c28d86f5ee7cddfde35cc61daa9a726e2e68509b.zip
- fixed permissions in IT Services (Artem/Eugene)
- fixed adding 'root' to services git-svn-id: svn://svn.zabbix.com/trunk@4214 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/hosts.inc.php')
-rw-r--r--frontends/php/include/hosts.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontends/php/include/hosts.inc.php b/frontends/php/include/hosts.inc.php
index f7d7dd33..5ccae673 100644
--- a/frontends/php/include/hosts.inc.php
+++ b/frontends/php/include/hosts.inc.php
@@ -482,6 +482,8 @@ require_once "include/items.inc.php";
if(in_array("monitored_hosts",$options))
$with_host_status = " and h.status=".HOST_STATUS_MONITORED;
+ elseif(in_array('real_hosts',$options))
+ $with_host_status = " and h.status<>".HOST_STATUS_TEMPLATE;
else
$with_host_status = "";