summaryrefslogtreecommitdiffstats
path: root/frontends/php/items.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-04-07 07:47:25 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-04-07 07:47:25 +0000
commit7a4b3f6a57f9b063f5acb77ecded743dc139f8cf (patch)
tree80f1d3dbd0af363c16ab00e94f0d09dd736c1f3c /frontends/php/items.php
parenta3c18691bd39cd254cf8636fceae94c22c1b6a4a (diff)
downloadzabbix-7a4b3f6a57f9b063f5acb77ecded743dc139f8cf.tar.gz
zabbix-7a4b3f6a57f9b063f5acb77ecded743dc139f8cf.tar.xz
zabbix-7a4b3f6a57f9b063f5acb77ecded743dc139f8cf.zip
- improved filter by hosts and groups (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2723 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/items.php')
-rw-r--r--frontends/php/items.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/frontends/php/items.php b/frontends/php/items.php
index ece2552a..07572c5e 100644
--- a/frontends/php/items.php
+++ b/frontends/php/items.php
@@ -90,12 +90,11 @@
);
check_fields($fields);
+
+ validate_group_with_host("U");
?>
<?php
- $_REQUEST["hostid"]=get_request("hostid",get_profile("web.latest.hostid",0));
-
- update_profile("web.latest.hostid",$_REQUEST["hostid"]);
update_profile("web.menu.config.last",$page["file"]);
?>
@@ -306,7 +305,6 @@
// Table HEADER
$form = new CForm();
- $_REQUEST["groupid"] = get_request("groupid",0);
$cmbGroup = new CComboBox("groupid",$_REQUEST["groupid"],"submit();");
$cmbGroup->AddItem(0,S_ALL_SMALL);
$result=DBselect("select groupid,name from groups order by name");