diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-04-22 08:32:21 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-04-22 08:32:21 +0000 |
| commit | 12170ad48acd8b96fd576e215a63073cb68b7227 (patch) | |
| tree | 536726fce6ec87a1e1a8fee3231689e0231f96d3 /frontends/php/include/items.inc.php | |
| parent | 00ea8cd431aa8e54993e49b827cdb234306d06cf (diff) | |
| download | zabbix-12170ad48acd8b96fd576e215a63073cb68b7227.tar.gz zabbix-12170ad48acd8b96fd576e215a63073cb68b7227.tar.xz zabbix-12170ad48acd8b96fd576e215a63073cb68b7227.zip | |
- [DEV-137] minor fixes (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5643 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/items.inc.php')
| -rw-r--r-- | frontends/php/include/items.inc.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/frontends/php/include/items.inc.php b/frontends/php/include/items.inc.php index ac2a8d0a..60efb68b 100644 --- a/frontends/php/include/items.inc.php +++ b/frontends/php/include/items.inc.php @@ -996,10 +996,8 @@ COpt::profiling_stop('prepare table'); $value = '-'; $ack = null; - if(isset($ithosts[$hostname])) - { - if($ithosts[$hostname]['tr_value'] == TRIGGER_VALUE_TRUE) - { + if(isset($ithosts[$hostname])){ + if($ithosts[$hostname]['tr_value'] == TRIGGER_VALUE_TRUE){ $css_class = get_severity_style($ithosts[$hostname]['severity']); $ack = get_last_event_by_triggerid($ithosts[$hostname]['triggerid']); if ( 1 == $ack['acknowledged'] ) @@ -1039,7 +1037,7 @@ COpt::profiling_stop('prepare table'); } } - if($value == '-') $css_class = 'center'; +// if($value == '-') $css_class = 'center'; $value_col = new CCol(array($value,$ack),$css_class); if(isset($it_ov_menu)) |
