summaryrefslogtreecommitdiffstats
path: root/frontends/php/actionconf.php
diff options
context:
space:
mode:
authorsasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-03 12:01:36 +0000
committersasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-03 12:01:36 +0000
commitc3d3eaea01e691748c2d2b875bb5326e9e494047 (patch)
treef663f87c81c7b5588f94d5064f17252517c5168c /frontends/php/actionconf.php
parent62d85d6dedace6ef9470bc2d8ff394df18f71bf2 (diff)
downloadzabbix-c3d3eaea01e691748c2d2b875bb5326e9e494047.tar.gz
zabbix-c3d3eaea01e691748c2d2b875bb5326e9e494047.tar.xz
zabbix-c3d3eaea01e691748c2d2b875bb5326e9e494047.zip
- [DEV-173] added support of notification escalations on server side
git-svn-id: svn://svn.zabbix.com/trunk@5748 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/actionconf.php')
-rw-r--r--frontends/php/actionconf.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/frontends/php/actionconf.php b/frontends/php/actionconf.php
index 5ab812c0..dfe3db53 100644
--- a/frontends/php/actionconf.php
+++ b/frontends/php/actionconf.php
@@ -252,6 +252,12 @@ include_once 'include/page_header.php';
$_REQUEST['operations'] = get_request('operations',array());
+ if($new_operation['esc_step_from'] > $new_operation['esc_step_to']) {
+ $from = $new_operation['esc_step_to'];
+ $new_operation['esc_step_to'] = $new_operation['esc_step_from'];
+ $new_operation['esc_step_from'] = $from;
+ }
+
if(!isset($new_operation['id'])){
if(!str_in_array($new_operation,$_REQUEST['operations']))
array_push($_REQUEST['operations'],$new_operation);
@@ -555,4 +561,4 @@ include_once 'include/page_header.php';
?>
<?php
include_once "include/page_footer.php";
-?> \ No newline at end of file
+?>