summaryrefslogtreecommitdiffstats
path: root/frontends/php/httpconf.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-23 14:55:32 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-23 14:55:32 +0000
commite5259a33066415ea2d424afeb54cad5d4c2b1ad9 (patch)
treeaf3cc24fe287671eb29574baf79999d11f4154b4 /frontends/php/httpconf.php
parent0dcb4e9f403253a308b088c145e7404c28de2008 (diff)
downloadzabbix-e5259a33066415ea2d424afeb54cad5d4c2b1ad9.tar.gz
zabbix-e5259a33066415ea2d424afeb54cad5d4c2b1ad9.tar.xz
zabbix-e5259a33066415ea2d424afeb54cad5d4c2b1ad9.zip
- improved webmonitoring (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3749 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/httpconf.php')
-rw-r--r--frontends/php/httpconf.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/frontends/php/httpconf.php b/frontends/php/httpconf.php
index bdc4bc2b..7e7e863e 100644
--- a/frontends/php/httpconf.php
+++ b/frontends/php/httpconf.php
@@ -271,6 +271,19 @@ include_once "include/page_header.php";
}
?>
<?php
+ /* make steps with unique names */
+ $_REQUEST['steps'] = get_request('steps',array());
+ foreach($_REQUEST['steps'] as $s1id => $s1)
+ {
+ foreach($_REQUEST['steps'] as $s2id => $s2)
+ {
+ if($s1['name'] == $s2['name'] && $s1id != $s2id)
+ {
+ $_REQUEST['steps'][$s1id] = $_REQUEST['steps'][$s2id];
+ unset($_REQUEST['steps'][$s2id]);
+ }
+ }
+ }
$_REQUEST['steps'] = array_merge(get_request('steps',array())); /* reinitialize keys */
$form = new CForm();