From b945709ec9334f4ff29d949bc009cfbdec2d3827 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Fri, 24 Feb 2006 21:11:32 +0000 Subject: Minor fixes. git-svn-id: svn://svn.zabbix.com/trunk@2689 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/triggers.inc.php | 1 + 1 file changed, 1 insertion(+) (limited to 'frontends/php/include') diff --git a/frontends/php/include/triggers.inc.php b/frontends/php/include/triggers.inc.php index e752b37a..690bd3bf 100644 --- a/frontends/php/include/triggers.inc.php +++ b/frontends/php/include/triggers.inc.php @@ -670,6 +670,7 @@ DBexecute("update sysmaps_links set triggerid=NULL where triggerid=$triggerid"); $db_actions = DBselect("select distinct c.actionid from conditions c, triggers t". + " where c.conditiontype=".CONDITION_TYPE_TRIGGER. " where c.conditiontype=CONDITION_TYPE_TRIGGER". " and c.value=t.triggerid"); while($db_action = DBfetch($db_actions)) -- cgit