summaryrefslogtreecommitdiffstats
path: root/frontends/php/popup.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-03-11 11:21:34 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-03-11 11:21:34 +0000
commit419b228afeba243106a8757543cde23bbdd03189 (patch)
tree331a7c47e32f2ca254ca261e6bf650b596c54383 /frontends/php/popup.php
parent9b1c6e98efe2a2a793b959df384db1a337a212ff (diff)
downloadzabbix-419b228afeba243106a8757543cde23bbdd03189.tar.gz
zabbix-419b228afeba243106a8757543cde23bbdd03189.tar.xz
zabbix-419b228afeba243106a8757543cde23bbdd03189.zip
- Zabbix1.5.b commit (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5468 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/popup.php')
-rw-r--r--frontends/php/popup.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/frontends/php/popup.php b/frontends/php/popup.php
index f555909d..78d145a2 100644
--- a/frontends/php/popup.php
+++ b/frontends/php/popup.php
@@ -232,13 +232,11 @@ include_once "include/page_header.php";
if($real_hosts)
array_push($validation_param, "real_hosts");
- if(str_in_array($srctbl,array("triggers","logitems","items")))
- {
+ if(str_in_array($srctbl,array("graphs","screens","triggers","logitems","items"))){
array_push($validation_param, "always_select_first_host");
validate_group_with_host(PERM_READ_LIST,$validation_param);
}
- elseif(str_in_array($srctbl,array('hosts','templates','host_templates')))
- {
+ elseif(str_in_array($srctbl,array('hosts','templates','host_templates'))){
validate_group(PERM_READ_LIST,$validation_param);
}