summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/classes/chart.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-26 12:46:19 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-26 12:46:19 +0000
commit9d240eca134c2433ac0a548a2b7fbe1fccc7c66d (patch)
treecd3d46256d09ca370f385dccf2082d0d33d96e78 /frontends/php/include/classes/chart.inc.php
parent63ce91166a8ecd8550db063ba9d9d914ec270e4c (diff)
downloadzabbix-9d240eca134c2433ac0a548a2b7fbe1fccc7c66d.tar.gz
zabbix-9d240eca134c2433ac0a548a2b7fbe1fccc7c66d.tar.xz
zabbix-9d240eca134c2433ac0a548a2b7fbe1fccc7c66d.zip
- [DEV-177] added checkbox range selection (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5800 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/classes/chart.inc.php')
-rw-r--r--frontends/php/include/classes/chart.inc.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/frontends/php/include/classes/chart.inc.php b/frontends/php/include/classes/chart.inc.php
index d1565831..d1d69b88 100644
--- a/frontends/php/include/classes/chart.inc.php
+++ b/frontends/php/include/classes/chart.inc.php
@@ -728,8 +728,7 @@ class Chart extends Graph{
' AND clock<='.$to_time.
' GROUP BY itemid,'.$calc_field
);
-
-// $this->items[$i]['delay'] = max(($this->items[$i]['delay']*ZBX_GRAPH_MAX_DELAY),ZBX_MAX_TREND_DIFF)/ZBX_GRAPH_MAX_DELAY + 1;
+
$this->items[$i]['delay'] = max($this->items[$i]['delay'],3600);
}
//SDI($sql_arr);