diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-01-23 14:55:32 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-01-23 14:55:32 +0000 |
| commit | e5259a33066415ea2d424afeb54cad5d4c2b1ad9 (patch) | |
| tree | af3cc24fe287671eb29574baf79999d11f4154b4 /frontends/php/httpconf.php | |
| parent | 0dcb4e9f403253a308b088c145e7404c28de2008 (diff) | |
| download | zabbix-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.php | 13 |
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(); |
