diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-08-03 13:25:45 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-08-03 13:25:45 +0000 |
| commit | d100b7c251540bdad6c9c6214ecbf755aeb53bc7 (patch) | |
| tree | 4d9f2f955f5f9f21568446db816d4e5b919f6645 /frontends/php/include | |
| parent | 14299f10d33a8675777664944a385f993ca24b64 (diff) | |
- fixed incorrect disabling of actions while deleting a trigger (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@3095 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include')
| -rw-r--r-- | frontends/php/include/triggers.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/triggers.inc.php b/frontends/php/include/triggers.inc.php index 93e91246..f2cf33da 100644 --- a/frontends/php/include/triggers.inc.php +++ b/frontends/php/include/triggers.inc.php @@ -762,7 +762,7 @@ $db_actions = DBselect("select distinct c.actionid from conditions c, triggers t". " where c.conditiontype=".CONDITION_TYPE_TRIGGER. - " and c.value=t.triggerid"); + " and c.value=t.triggerid and t.triggerid=".$triggerid); while($db_action = DBfetch($db_actions)) { DBexecute("update actions set status=".ACTION_STATUS_DISABLED. |
