From dcdbd43b90679168d6be06673e314ce90b87e444 Mon Sep 17 00:00:00 2001 From: james_wells Date: Fri, 28 Oct 2005 03:15:14 +0000 Subject: Minor bug fixes as listed on the forum; actions.inc.php had a bug while trying to add actions. forms.inc.php declared multiple inputs without closing them. git-svn-id: svn://svn.zabbix.com/trunk@2230 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/actions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontends/php/include/actions.inc.php') diff --git a/frontends/php/include/actions.inc.php b/frontends/php/include/actions.inc.php index fafe4ab5..1e07f988 100644 --- a/frontends/php/include/actions.inc.php +++ b/frontends/php/include/actions.inc.php @@ -59,7 +59,7 @@ $result=DBselect($sql); while($row=DBfetch($result)) { - $sql="insert into actions (triggerid,userid,good,delay,nextcheck,subject,message,scope,severity,recipientmaxrepeats,repeatdelay) values (".$row["hostid"].",$id,$good,$delay,0,'*Automatically generated*','*Automatically generated*',$scope,$severity,$recipient,$maxrepeats,$repeatdelay)"; + $sql="insert into actions (triggerid,userid,good,delay,nextcheck,subject,message,scope,severity,recipient,maxrepeats,repeatdelay) values (".$row["hostid"].",$id,$good,$delay,0,'*Automatically generated*','*Automatically generated*',$scope,$severity,$recipient,$maxrepeats,$repeatdelay)"; // echo "$sql
"; DBexecute($sql); } -- cgit