diff options
| author | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-01-20 20:32:25 +0000 |
|---|---|---|
| committer | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-01-20 20:32:25 +0000 |
| commit | 90b2748a4631c0593ea13b63f668b475541c2009 (patch) | |
| tree | 95d4ed61ec7687f805d77c5891366fbc26da85fb /frontends/php/map.php | |
| parent | 1970291fea95cc08fceff4e859b98dab47cbc6cb (diff) | |
| download | zabbix-90b2748a4631c0593ea13b63f668b475541c2009.tar.gz zabbix-90b2748a4631c0593ea13b63f668b475541c2009.tar.xz zabbix-90b2748a4631c0593ea13b63f668b475541c2009.zip | |
- do not show connector as ON if trigger disabled (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@3739 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/map.php')
| -rw-r--r-- | frontends/php/map.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frontends/php/map.php b/frontends/php/map.php index d519af31..e11c5d6f 100644 --- a/frontends/php/map.php +++ b/frontends/php/map.php @@ -141,7 +141,8 @@ include_once "include/page_header.php"; if(!is_null($link["triggerid"])) { $trigger=get_trigger_by_triggerid($link["triggerid"]); - if($trigger["value"] == TRIGGER_VALUE_TRUE) +// if($trigger["value"] == TRIGGER_VALUE_TRUE) + if($trigger["status"] == TRIGGER_STATUS_ENABLED && $trigger["value"] == TRIGGER_VALUE_TRUE) { $drawtype = $link["drawtype_on"]; $color = $colors[$link["color_on"]]; |
