diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-02-04 13:47:34 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-02-04 13:47:34 +0000 |
| commit | 5b09df95f41c91dbbcfe8112c10ef6f5a297103b (patch) | |
| tree | c90a3b50eafec54454d352282bf43ce119f13a32 /frontends/php/chart5.php | |
| parent | dd34f50410dbf8ec37238b5a101c2610e5c808ac (diff) | |
- [DEV-103] fixed login right check for user "guest" (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5317 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart5.php')
| -rw-r--r-- | frontends/php/chart5.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/frontends/php/chart5.php b/frontends/php/chart5.php index 945fac9f..23b3347c 100644 --- a/frontends/php/chart5.php +++ b/frontends/php/chart5.php @@ -112,7 +112,6 @@ include_once "include/page_header.php"; $period_end = time(); $stat = calculate_service_availability($_REQUEST["serviceid"],$period_start,$period_end); - $problem[$i]=$stat["problem"]; $ok[$i]=$stat["ok"]; $count_now[$i]=1; @@ -142,8 +141,8 @@ include_once "include/page_header.php"; for($i=1;$i<=52;$i++) { if(!isset($ok[$i-1])) continue; + $x2=($sizeX/52)*($i-1-$minX)*$sizeX/($maxX-$minX); - $x2=(900/52)*$sizeX*($i-$minX-1)/($maxX-$minX); $y2=$sizeY*($ok[$i-1]-$minY)/($maxY-$minY); $y2=$sizeY-$y2; |
