diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-04-23 08:06:13 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-04-23 08:06:13 +0000 |
| commit | 781cb8d7985043505364aa3daa364e1fd3f34d5b (patch) | |
| tree | f87df423894f9998e1f3b110f05b98b3aa3f60a5 /frontends/php/include/graphs.inc.php | |
| parent | 220d7fe4a93c10c96f8d7021227f0ff07e411989 (diff) | |
- startrd developement of dbmanager on serverside
- minor fixes of template linkage on frontend
git-svn-id: svn://svn.zabbix.com/trunk@4045 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/graphs.inc.php')
| -rw-r--r-- | frontends/php/include/graphs.inc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/php/include/graphs.inc.php b/frontends/php/include/graphs.inc.php index 72700800..55cd9665 100644 --- a/frontends/php/include/graphs.inc.php +++ b/frontends/php/include/graphs.inc.php @@ -424,13 +424,13 @@ if($templateid != null) { - $tmp_graph = get_graph_by_graphid($db_graph["templateid"]); + $tmp_host = DBfetch(get_hosts_by_graphid($db_graph["templateid"])); if(is_array($templateid)) { - if(!isset($templateid[$tmp_graph["hostid"]])) + if(!isset($templateid[$tmp_host["hostid"]])) continue; } - elseif($tmp_graph["hostid"] != $templateid) + elseif($tmp_host["hostid"] != $templateid) continue; } |
