diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-01-10 21:15:28 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-01-10 21:15:28 +0000 |
| commit | 3c634960c083dc93b465ca0e6606804fb3df2594 (patch) | |
| tree | 3e60e08a559168ae6d9a5da4808c4122eb8815dd /frontends/php/include/classes.inc.php | |
| parent | 1e9b07f84406ead99f2a6369a8fae3582dca2cc8 (diff) | |
| download | zabbix-3c634960c083dc93b465ca0e6606804fb3df2594.tar.gz zabbix-3c634960c083dc93b465ca0e6606804fb3df2594.tar.xz zabbix-3c634960c083dc93b465ca0e6606804fb3df2594.zip | |
- fixed time selection for custom graphs (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1599 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/classes.inc.php')
| -rw-r--r-- | frontends/php/include/classes.inc.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/frontends/php/include/classes.inc.php b/frontends/php/include/classes.inc.php index 3616a1d2..1655eea0 100644 --- a/frontends/php/include/classes.inc.php +++ b/frontends/php/include/classes.inc.php @@ -498,8 +498,10 @@ $now = time(NULL); if(isset($this->stime)) { - $this->to_time=$this->stime+24*3600; +# $this->to_time=$this->stime+24*3600; +# $this->from_time=$this->stime; $this->from_time=$this->stime; + $this->to_time=$this->stime+$this->period; } else { |
