summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/actions.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include/actions.inc.php')
-rw-r--r--frontends/php/include/actions.inc.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/frontends/php/include/actions.inc.php b/frontends/php/include/actions.inc.php
index 3993d2a7..25a64cb0 100644
--- a/frontends/php/include/actions.inc.php
+++ b/frontends/php/include/actions.inc.php
@@ -298,8 +298,7 @@
}
if($conditiontype==CONDITION_TYPE_TRIGGER)
{
- $trigger=get_trigger_by_triggerid($value);
- if($trigger) $desc=S_TRIGGER." $op "."\"".$trigger["description"]."\"";
+ $desc=S_TRIGGER." $op "."\"".expand_trigger_description($value)."\"";
}
else if($conditiontype==CONDITION_TYPE_HOST)
{