summaryrefslogtreecommitdiffstats
path: root/frontends/php/include
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-03-27 13:16:47 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-03-27 13:16:47 +0000
commit78c8f35cfea5d5717efc11081281b143604651b8 (patch)
treea4fcc3eb09d0bdff3d689ba4baab25e69a3fac4f /frontends/php/include
parentc854c65b92b79bac394b18e01c1319b758326a17 (diff)
downloadzabbix-78c8f35cfea5d5717efc11081281b143604651b8.tar.gz
zabbix-78c8f35cfea5d5717efc11081281b143604651b8.tar.xz
zabbix-78c8f35cfea5d5717efc11081281b143604651b8.zip
- merged rev. 5547:5549 of 1.4 branch (Artem) [fixes empty column "hosts" in "latest data" screen]
git-svn-id: svn://svn.zabbix.com/trunk@5550 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include')
-rw-r--r--frontends/php/include/classes/chart.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontends/php/include/classes/chart.inc.php b/frontends/php/include/classes/chart.inc.php
index a231312f..d1565831 100644
--- a/frontends/php/include/classes/chart.inc.php
+++ b/frontends/php/include/classes/chart.inc.php
@@ -684,7 +684,8 @@ class Chart extends Graph{
/* skip current period */
$from_time = $this->from_time - $this->period * $this->items[$i]["periods_cnt"];
$to_time = $this->from_time;
- } else {
+ }
+ else {
$from_time = $this->from_time;
$to_time = $this->to_time;
}