Florian Schaal
2015-12-13 a56c8ab19906ec99b9128446af949d39e2872e46
allow ipv6 wildcard for client web-domain
1 files modified
2 ■■■ changed files
interface/web/sites/web_vhost_domain_edit.php 2 ●●● patch | view | raw | blame | history
interface/web/sites/web_vhost_domain_edit.php
@@ -218,7 +218,7 @@
            //* Fill the IPv6 select field with the IP addresses that are allowed for this client
            $sql = "SELECT ip_address FROM server_ip WHERE server_id IN ? AND ip_type = 'IPv6' AND (client_id = 0 OR client_id=?)";
            $ips = $app->db->queryAllRecords($sql, explode(',', $client['web_servers']), $_SESSION['s']['user']['client_id']);
            $ip_select = "<option value=''></option>";
            $ip_select = ($web_config[$server_id]['enable_ip_wildcard'] == 'y')?"<option value='*'>*</option>":"";
            //$ip_select = "";
            if(is_array($ips)) {
                foreach( $ips as $ip) {