diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-03-19 09:49:38 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-03-19 09:49:38 +0000 |
| commit | c251e5c034c00b9b3a1fd21ef727f0c196404c23 (patch) | |
| tree | 7c943e39f4521d2beb9b85740f12cd9c6bb7f54a /frontends/php/acknow.php | |
| parent | abf5d66c9ae735a96ef84a5a34ef143a1612bb35 (diff) | |
| download | zabbix-c251e5c034c00b9b3a1fd21ef727f0c196404c23.tar.gz zabbix-c251e5c034c00b9b3a1fd21ef727f0c196404c23.tar.xz zabbix-c251e5c034c00b9b3a1fd21ef727f0c196404c23.zip | |
- fixed events.triggerid requests
git-svn-id: svn://svn.zabbix.com/trunk@3896 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/acknow.php')
| -rw-r--r-- | frontends/php/acknow.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/acknow.php b/frontends/php/acknow.php index 4631fab6..79ab6a3e 100644 --- a/frontends/php/acknow.php +++ b/frontends/php/acknow.php @@ -47,8 +47,8 @@ include_once "include/page_header.php"; if(! ($db_data = DBfetch(DBselect('select distinct e.*,t.triggerid,t.expression,t.description,h.host,h.hostid '. ' from hosts h, items i, functions f, events e, triggers t'. - ' where h.hostid=i.hostid and i.itemid=f.itemid and f.triggerid=e.triggerid and e.eventid='.$_REQUEST["eventid"]. - ' and i.hostid not in ('.$denyed_hosts.') and e.triggerid=t.triggerid'. + ' where h.hostid=i.hostid and i.itemid=f.itemid and f.triggerid=t.triggerid and e.eventid='.$_REQUEST["eventid"]. + ' and i.hostid not in ('.$denyed_hosts.') and e.objectid=t.triggerid and e.object='.EVENT_OBJECT_TRIGGER. ' and '.DBid2nodeid('e.eventid').'='.$ZBX_CURNODEID )))) { |
