summaryrefslogtreecommitdiffstats
path: root/frontends/php/hosts.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/hosts.php')
-rw-r--r--frontends/php/hosts.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/hosts.php b/frontends/php/hosts.php
index 50f524ac..0100530a 100644
--- a/frontends/php/hosts.php
+++ b/frontends/php/hosts.php
@@ -197,7 +197,7 @@ include_once "include/page_header.php";
$result = update_host($_REQUEST["hostid"],
$_REQUEST["host"],$_REQUEST["port"],$_REQUEST["status"],$useip,$_REQUEST["dns"],
- $_REQUEST["ip"],$templates,$_REQUEST["newgroup"],$groups);
+ $_REQUEST["ip"],$_REQUEST["proxyid"],$templates,$_REQUEST["newgroup"],$groups);
$msg_ok = S_HOST_UPDATED;
$msg_fail = S_CANNOT_UPDATE_HOST;
@@ -207,7 +207,7 @@ include_once "include/page_header.php";
} else {
$hostid = add_host(
$_REQUEST["host"],$_REQUEST["port"],$_REQUEST["status"],$useip,$_REQUEST["dns"],
- $_REQUEST["ip"],$templates,$_REQUEST["newgroup"],$groups);
+ $_REQUEST["ip"],$_REQUEST["proxyid"],$templates,$_REQUEST["newgroup"],$groups);
$msg_ok = S_HOST_ADDED;
$msg_fail = S_CANNOT_ADD_HOST;