diff options
author | james_wells <james_wells@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-10-28 03:15:14 +0000 |
---|---|---|
committer | james_wells <james_wells@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-10-28 03:15:14 +0000 |
commit | dcdbd43b90679168d6be06673e314ce90b87e444 (patch) | |
tree | 7011d53e0a893f81bd3bff49cb4f75254a5333e3 /frontends/php/include/actions.inc.php | |
parent | f99e4b23a050b16e4d61dc1ddd54b4bb0f060e36 (diff) | |
download | zabbix-dcdbd43b90679168d6be06673e314ce90b87e444.tar.gz zabbix-dcdbd43b90679168d6be06673e314ce90b87e444.tar.xz zabbix-dcdbd43b90679168d6be06673e314ce90b87e444.zip |
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
Diffstat (limited to 'frontends/php/include/actions.inc.php')
-rw-r--r-- | frontends/php/include/actions.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
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<br>"; DBexecute($sql); } |