Skip to content

Commit aaeba2a

Browse files
author
Till Brehm
committed
Fixed: #3932 Client web form shows * in IPv4 field IPv6 field.
1 parent 008ef88 commit aaeba2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

interface/web/sites/web_vhost_domain_edit.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,9 @@ function onShowEnd() {
219219
//* Fill the IPv6 select field with the IP addresses that are allowed for this client
220220
$sql = "SELECT ip_address FROM server_ip WHERE server_id IN ? AND ip_type = 'IPv6' AND (client_id = 0 OR client_id=?)";
221221
$ips = $app->db->queryAllRecords($sql, explode(',', $client['web_servers']), $_SESSION['s']['user']['client_id']);
222-
$ip_select = ($web_config[$server_id]['enable_ip_wildcard'] == 'y')?"<option value='*'>*</option>":"";
222+
//$ip_select = ($web_config[$server_id]['enable_ip_wildcard'] == 'y')?"<option value='*'>*</option>":"";
223223
//$ip_select = "";
224+
$ip_select = "<option value=''></option>";
224225
if(is_array($ips)) {
225226
foreach( $ips as $ip) {
226227
$selected = ($ip["ip_address"] == $this->dataRecord["ipv6_address"])?'SELECTED':'';

0 commit comments

Comments
 (0)