summaryrefslogtreecommitdiffstats
path: root/frontends
diff options
context:
space:
mode:
authorjames_wells <james_wells@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-10-28 03:15:14 +0000
committerjames_wells <james_wells@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-10-28 03:15:14 +0000
commitdcdbd43b90679168d6be06673e314ce90b87e444 (patch)
tree7011d53e0a893f81bd3bff49cb4f75254a5333e3 /frontends
parentf99e4b23a050b16e4d61dc1ddd54b4bb0f060e36 (diff)
downloadzabbix-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')
-rw-r--r--frontends/php/include/actions.inc.php2
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);
}