tbrehm
2008-06-14 73c2f2d3997b76b5931fed27efcccebf6f0f6dba
interface/web/sites/web_domain_edit.php
@@ -94,7 +94,7 @@
         
         // Get the limits of the client
         $client_group_id = $_SESSION["s"]["user"]["default_group"];
         $client = $app->db->queryOneRecord("SELECT limit_web_domain, default_webserver FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = $client_group_id");
         $client = $app->db->queryOneRecord("SELECT client_id, limit_web_domain, default_webserver FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = $client_group_id");
         
         // Set the webserver to the default server of the client
         $tmp = $app->db->queryOneRecord("SELECT server_name FROM server WHERE server_id = $client[default_webserver]");
@@ -102,7 +102,7 @@
         unset($tmp);
         
         // Fill the client select field
         $sql = "SELECT groupid, name FROM sys_group WHERE client_id > 0";
         $sql = "SELECT groupid, name FROM sys_group, client WHERE sys_group.client_id = client.parent_client_id AND client.parent_client_id = ".$client['client_id'];
         $clients = $app->db->queryAllRecords($sql);
         $client_select = '';
         if(is_array($clients)) {