summaryrefslogtreecommitdiffstats
path: root/frontends/php/httpdetails.php
diff options
context:
space:
mode:
authoralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-05-17 11:13:25 +0000
committeralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-05-17 11:13:25 +0000
commitfa15863d478d24cbced062ddb19cdbe78006bd78 (patch)
treed8210db8beb6c8197445ad7c2e66bd26da9b4374 /frontends/php/httpdetails.php
parent42f9c764b20653ba27dd39547291dfb651ec5242 (diff)
downloadzabbix-fa15863d478d24cbced062ddb19cdbe78006bd78.tar.gz
zabbix-fa15863d478d24cbced062ddb19cdbe78006bd78.tar.xz
zabbix-fa15863d478d24cbced062ddb19cdbe78006bd78.zip
- same step color for both graphs in Monitoring->WEB (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@4141 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/httpdetails.php')
-rw-r--r--frontends/php/httpdetails.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontends/php/httpdetails.php b/frontends/php/httpdetails.php
index 3c1f1102..e5280203 100644
--- a/frontends/php/httpdetails.php
+++ b/frontends/php/httpdetails.php
@@ -137,6 +137,8 @@ include_once "include/page_header.php";
$status['skip'] = true;
}
+ $item_color = $color[$color['current'] = $color[$color['current']]['next']]['color'];
+
$db_items = DBselect('select i.*, hi.type as httpitem_type from items i, httpstepitem hi '.
' where hi.itemid=i.itemid and hi.httpstepid='.$httpstep_data['httpstepid']);
while($item_data = DBfetch($db_items))
@@ -157,7 +159,7 @@ include_once "include/page_header.php";
}
$items[$item_data['httpitem_type']][] = array(
'itemid' => $item_data['itemid'],
- 'color' => $color[$color['current'] = $color[$color['current']]['next']]['color'],
+ 'color' => $item_color,
'sortorder' => 'no');
}