summaryrefslogtreecommitdiffstats
path: root/frontends/php/graphs.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-12-28 14:13:47 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-12-28 14:13:47 +0000
commit409ee0ae8dba2a54aecfc0f1f75df4dd48e262c4 (patch)
tree5bd17429eb25417fe3336520e58d122c7f6a0d00 /frontends/php/graphs.php
parent3408b894d2875eab784774ac58fa714e31ab7406 (diff)
downloadzabbix-409ee0ae8dba2a54aecfc0f1f75df4dd48e262c4.tar.gz
zabbix-409ee0ae8dba2a54aecfc0f1f75df4dd48e262c4.tar.xz
zabbix-409ee0ae8dba2a54aecfc0f1f75df4dd48e262c4.zip
Minor fixes.
git-svn-id: svn://svn.zabbix.com/trunk@2442 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/graphs.php')
-rw-r--r--frontends/php/graphs.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontends/php/graphs.php b/frontends/php/graphs.php
index 683b76ac..b394da38 100644
--- a/frontends/php/graphs.php
+++ b/frontends/php/graphs.php
@@ -38,6 +38,8 @@
show_footer();
exit;
}
+ $_REQUEST["hostid"]=@iif(isset($_REQUEST["hostid"]),$_REQUEST["hostid"],get_profile("web.latest.hostid",0));
+ update_profile("web.latest.hostid",$_REQUEST["hostid"]);
update_profile("web.menu.config.last",$page["file"]);
?>