We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07dcf84 commit 89bc625Copy full SHA for 89bc625
interface/web/sites/ajax_get_ip.php
@@ -45,7 +45,7 @@
45
$web_config = $app->getconf->get_server_config($server_id, 'web');
46
47
$tmp = $app->db->queryOneRecord("SELECT client_id FROM sys_group WHERE groupid = ?", $client_group_id);
48
- $sql = "SELECT ip_address FROM server_ip WHERE ip_type = ? AND server_id = ? AND (client_id = 0 OR client_id=?)";
+ $sql = "SELECT ip_address FROM server_ip WHERE ip_type = ? AND server_id = ? AND virtualhost = 'y' AND (client_id = 0 OR client_id=?)";
49
50
$ips = $app->db->queryAllRecords($sql, $ip_type, $server_id, $tmp['client_id']);
51
// $ip_select = "<option value=''></option>";
0 commit comments