From e5259a33066415ea2d424afeb54cad5d4c2b1ad9 Mon Sep 17 00:00:00 2001 From: osmiy Date: Tue, 23 Jan 2007 14:55:32 +0000 Subject: - improved webmonitoring (Eugene) git-svn-id: svn://svn.zabbix.com/trunk@3749 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/httpconf.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'frontends/php/httpconf.php') 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"; } ?> $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(); -- cgit