diff --git a/www/include/configuration/configServers/DB-Func.php b/www/include/configuration/configServers/DB-Func.php index bc2bd100ef2..8feca5474f3 100644 --- a/www/include/configuration/configServers/DB-Func.php +++ b/www/include/configuration/configServers/DB-Func.php @@ -515,8 +515,8 @@ function updateRemoteServerInformation(array $data) ? $rq .= "http_port = '" . $data["http_port"] . "', " : $rq .= "http_port = NULL, "; $rq .= "no_check_certificate = '" . $data["no_check_certificate"]["no_check_certificate"] . "', "; - $rq .= "no_proxy = '" . $data["no_proxy"]["no_proxy"] . "', "; - $rq .= "ip = '" . $data["ns_ip_address"] . "'"; + $rq .= "no_proxy = '" . $data["no_proxy"]["no_proxy"] . "' "; + $rq .= "WHERE ip = '" . $data["ns_ip_address"] . "'"; $pearDB->query($rq); } $res->closeCursor();