diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-11 12:54:35 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-11 12:54:35 +0000 |
| commit | 2d69d2f3070bc71ef09d064da117f69c14b8206d (patch) | |
| tree | f9536a4c6b7acf8c87adc620b5238e6b640ff1d0 /frontends/php/include/triggers.inc.php | |
| parent | d2b78889450f7256e878376e71fe025191060af9 (diff) | |
| download | zabbix-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.php | 3 |
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; } |
