summaryrefslogtreecommitdiffstats
path: root/frontends/php/items.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-08-26 11:09:30 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-08-26 11:09:30 +0000
commit53338d4d70ccb87b724bd3df293b8ce1b32fbb11 (patch)
tree99e40df0d051acc3221928af43cd7673a8008f15 /frontends/php/items.php
parente2128fb24527ba8f591e54633be0daf9a7636146 (diff)
downloadzabbix-53338d4d70ccb87b724bd3df293b8ce1b32fbb11.tar.gz
zabbix-53338d4d70ccb87b724bd3df293b8ce1b32fbb11.tar.xz
zabbix-53338d4d70ccb87b724bd3df293b8ce1b32fbb11.zip
- misc usability fixes for PHP interface (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1997 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/items.php')
-rw-r--r--frontends/php/items.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontends/php/items.php b/frontends/php/items.php
index b8a8a7d0..5d84ee48 100644
--- a/frontends/php/items.php
+++ b/frontends/php/items.php
@@ -51,6 +51,11 @@
?>
<?php
+ $_GET["hostid"]=@iif(isset($_GET["hostid"]),$_GET["hostid"],get_profile("web.latest.hostid",0));
+ update_profile("web.latest.hostid",$_GET["hostid"]);
+?>
+
+<?php
if(isset($_GET["register"]))
{
if($_GET["register"]=="update")