summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/graphs.inc.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-05-24 07:54:08 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-05-24 07:54:08 +0000
commit5a12e4453ae572821ec2b81a7dc6d85e87c24535 (patch)
tree98fae3e0e58f2b85579e3a7d8bd25b21788e0cda /frontends/php/include/graphs.inc.php
parente173a221a243167d858f4b512f65b67991c98391 (diff)
downloadzabbix-5a12e4453ae572821ec2b81a7dc6d85e87c24535.tar.gz
zabbix-5a12e4453ae572821ec2b81a7dc6d85e87c24535.tar.xz
zabbix-5a12e4453ae572821ec2b81a7dc6d85e87c24535.zip
- fixed syncing of graphs with templates (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2894 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/graphs.inc.php')
-rw-r--r--frontends/php/include/graphs.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/graphs.inc.php b/frontends/php/include/graphs.inc.php
index 552a47a4..a5c7f3aa 100644
--- a/frontends/php/include/graphs.inc.php
+++ b/frontends/php/include/graphs.inc.php
@@ -461,8 +461,8 @@
{
$db_graph = get_graph_by_graphid($graphid);
$new_graphid = add_graph($db_graph["name"],$db_graph["width"],$db_graph["height"],
- $db_graph["yaxistype"],$db_graph["yaxismin"],$db_graph["yaxismax"],$graph["show_work_period"],
- $graph["show_triggers"],$graphid);
+ $db_graph["yaxistype"],$db_graph["yaxismin"],$db_graph["yaxismax"],$db_graph["show_work_period"],
+ $db_graph["show_triggers"],$graphid);
if(!$new_graphid)
return $new_graphid;