diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-02 12:45:21 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-02 12:45:21 +0000 |
| commit | e58322734a3b0a38f4fbb9f061bab0987060de60 (patch) | |
| tree | 3e6f77b8d8078939b6a2c7f801b9d85a6817dc57 /frontends/php/include | |
| parent | 914ff5a4f37c2bf999ab92baaa06964a2b963972 (diff) | |
| download | zabbix-e58322734a3b0a38f4fbb9f061bab0987060de60.tar.gz zabbix-e58322734a3b0a38f4fbb9f061bab0987060de60.tar.xz zabbix-e58322734a3b0a38f4fbb9f061bab0987060de60.zip | |
- [DEV-171] fix to form (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5741 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include')
| -rw-r--r-- | frontends/php/include/actions.inc.php | 2 | ||||
| -rw-r--r-- | frontends/php/include/forms.inc.php | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/frontends/php/include/actions.inc.php b/frontends/php/include/actions.inc.php index 4078bf1d..eceaabfe 100644 --- a/frontends/php/include/actions.inc.php +++ b/frontends/php/include/actions.inc.php @@ -226,7 +226,7 @@ function add_action($name, $eventsource, $esc_period, $def_shortdata, $def_longd $actionid=get_dbid('actions','actionid'); $result = DBexecute('INSERT INTO actions (actionid,name,eventsource,esc_period,def_shortdata,def_longdata,recovery_msg,r_shortdata,r_longdata,evaltype,status)'. - ' VALUES ('.$actionid.','.zbx_dbstr($name).','.$eventsource.','.zbx_dbstr($def_shortdata).','.zbx_dbstr($def_longdata).','.$esc_period.','.$recovery_msg.','.zbx_dbstr($r_shortdata).','.zbx_dbstr($r_longdata).','.$evaltype.','.$status.')'); + ' VALUES ('.$actionid.','.zbx_dbstr($name).','.$eventsource.','.$esc_period.','.zbx_dbstr($def_shortdata).','.zbx_dbstr($def_longdata).','.$recovery_msg.','.zbx_dbstr($r_shortdata).','.zbx_dbstr($r_longdata).','.$evaltype.','.$status.')'); if(!$result) return $result; diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php index 80c36eed..845656d0 100644 --- a/frontends/php/include/forms.inc.php +++ b/frontends/php/include/forms.inc.php @@ -2862,8 +2862,6 @@ } else{ unset($_REQUEST['recovery_msg']); - $tblAct->AddItem(new CVar('r_shortdata', '')); - $tblAct->AddItem(new CVar('r_longdata','')); } $cmbStatus = new CComboBox('status',$status); |
