summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/triggers.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-11 12:54:35 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-11 12:54:35 +0000
commit2d69d2f3070bc71ef09d064da117f69c14b8206d (patch)
treef9536a4c6b7acf8c87adc620b5238e6b640ff1d0 /frontends/php/include/triggers.inc.php
parentd2b78889450f7256e878376e71fe025191060af9 (diff)
downloadzabbix-2d69d2f3070bc71ef09d064da117f69c14b8206d.tar.gz
zabbix-2d69d2f3070bc71ef09d064da117f69c14b8206d.tar.xz
zabbix-2d69d2f3070bc71ef09d064da117f69c14b8206d.zip
- [DEV-137] fixed IT services (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5757 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/triggers.inc.php')
-rw-r--r--frontends/php/include/triggers.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontends/php/include/triggers.inc.php b/frontends/php/include/triggers.inc.php
index fb7b9d81..906bc577 100644
--- a/frontends/php/include/triggers.inc.php
+++ b/frontends/php/include/triggers.inc.php
@@ -293,8 +293,9 @@
' WHERE triggerid='.$triggerid.
' AND status='.TRIGGER_STATUS_ENABLED.
' AND value='.TRIGGER_VALUE_TRUE;
-
+
$status = ($rows=DBfetch(DBselect($sql,1)))?$rows['priority']:0;
+
return $status;
}