summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/actions.inc.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-12-27 18:34:39 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-12-27 18:34:39 +0000
commit09554d562e4d076bc5d1178d6e6f13eeae5f8f02 (patch)
tree84fdb3a34554543eb9154c8cbd9d653e1ca429f2 /frontends/php/include/actions.inc.php
parent461bb2a4ff683a38e6b2066f8c3fec67e110e44a (diff)
downloadzabbix-09554d562e4d076bc5d1178d6e6f13eeae5f8f02.tar.gz
zabbix-09554d562e4d076bc5d1178d6e6f13eeae5f8f02.tar.xz
zabbix-09554d562e4d076bc5d1178d6e6f13eeae5f8f02.zip
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@2434 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/actions.inc.php')
-rw-r--r--frontends/php/include/actions.inc.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/frontends/php/include/actions.inc.php b/frontends/php/include/actions.inc.php
index 3364467f..76b60da6 100644
--- a/frontends/php/include/actions.inc.php
+++ b/frontends/php/include/actions.inc.php
@@ -314,6 +314,13 @@
{
$desc=S_TRIGGER_DESCRIPTION." $op "."\"".$value."\"";
}
+ else if($conditiontype==CONDITION_TYPE_TRIGGER_VALUE)
+ {
+ if($value==0)
+ $desc=S_TRIGGER_VALUE." $op "."\"OFF\"";
+ if($value==1)
+ $desc=S_TRIGGER_VALUE." $op "."\"ON\"";
+ }
else if($conditiontype==CONDITION_TYPE_TRIGGER_SEVERITY)
{
$desc=S_TRIGGER_SEVERITY." $op "."\"".get_severity_description($value)."\"";