summaryrefslogtreecommitdiffstats
path: root/frontends/php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-18 12:46:07 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-18 12:46:07 +0000
commit47df95b3d1a6669b988604a364c341b4094d1525 (patch)
treece879c13b4a721ddb610a164f12f1fe1133b7b4f /frontends/php
parent4f1f420a91e557c2ab4a7ff9605fba260931bbdc (diff)
downloadzabbix-47df95b3d1a6669b988604a364c341b4094d1525.tar.gz
zabbix-47df95b3d1a6669b988604a364c341b4094d1525.tar.xz
zabbix-47df95b3d1a6669b988604a364c341b4094d1525.zip
- [DEV-171] improvements to escalation form (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5779 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php')
-rw-r--r--frontends/php/include/forms.inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php
index 6bf36327..e3d62b7d 100644
--- a/frontends/php/include/forms.inc.php
+++ b/frontends/php/include/forms.inc.php
@@ -2842,7 +2842,7 @@
$tblAct->AddItem(new CVar('esc_period',$esc_period));
}
- if(isset($_REQUEST['escalation'])){
+ if(!isset($_REQUEST['escalation'])){
unset($_REQUEST['new_opcondition']);
}
@@ -3377,7 +3377,7 @@
$tblNewOperation = new CTable(null,'nowrap');
- if(isset($_REQUEST['esc_period']) && ($_REQUEST['esc_period']>0)){
+ if(isset($_REQUEST['escalation'])){
$tblStep = new CTable(null,'nowrap');
$step_from = new CNumericBox('new_operation[esc_step_from]', $new_operation['esc_step_from'],4);
@@ -3561,7 +3561,7 @@
}
// new Operation conditions
- if(isset($_REQUEST['esc_period']) && ($_REQUEST['esc_period']>0)){
+ if(isset($_REQUEST['escalation'])){
$tblCond = new CTable();
$opconditions = $new_operation['opconditions'];