diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-03-20 16:25:10 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-03-20 16:25:10 +0000 |
| commit | a9e6d5287540ccfcfeedd3cb6f4e21aacdf88b55 (patch) | |
| tree | ddef24307a3f9e9c75f21094c1c1fedf7db6bdaa /frontends/php/include/events.inc.php | |
| parent | 44ab508559ddf1d4d0ef1e3964bd5d9cefd4d347 (diff) | |
- [DEV-122] fixed sql query in events list (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5510 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/events.inc.php')
| -rw-r--r-- | frontends/php/include/events.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/events.inc.php b/frontends/php/include/events.inc.php index 851a3499..0117b878 100644 --- a/frontends/php/include/events.inc.php +++ b/frontends/php/include/events.inc.php @@ -419,7 +419,7 @@ function make_small_eventlist($triggerid,&$trigger_data){ $tdc->AddOption('width','10'); $sql='SELECT COUNT(a.alertid) as failed '. - ' FROM alerts a,functions f,items i,events e'. + ' FROM alerts a '. ' WHERE a.eventid='.$row['eventid']. ' AND a.status='.ALERT_STATUS_FAILED; $alerts=DBfetch(DBselect($sql)); |
