From 409ee0ae8dba2a54aecfc0f1f75df4dd48e262c4 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Wed, 28 Dec 2005 14:13:47 +0000 Subject: Minor fixes. git-svn-id: svn://svn.zabbix.com/trunk@2442 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/actionconf.php | 1 + frontends/php/graphs.php | 2 ++ frontends/php/latestalarms.php | 2 ++ 3 files changed, 5 insertions(+) (limited to 'frontends/php') diff --git a/frontends/php/actionconf.php b/frontends/php/actionconf.php index b161ee33..b88a324f 100644 --- a/frontends/php/actionconf.php +++ b/frontends/php/actionconf.php @@ -28,6 +28,7 @@ ?> ".S_NO_PERMISSIONS.""); 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"]); ?> diff --git a/frontends/php/latestalarms.php b/frontends/php/latestalarms.php index 8ccaa0fe..70fe3ddc 100644 --- a/frontends/php/latestalarms.php +++ b/frontends/php/latestalarms.php @@ -52,6 +52,8 @@ ?> -- cgit