tbrehm
2010-03-20 694f1e5dd2e984ecd785b9b191a49d0ee03e00f3
interface/web/sites/web_domain_edit.php
@@ -393,7 +393,7 @@
         $client_id = intval($client["client_id"]);
      }
      
      if(($_SESSION["s"]["user"]["typ"] == 'admin' || $app->auth->has_clients($_SESSION['s']['user']['userid'])) &&  isset($this->dataRecord["client_group_id"]) && $this->dataRecord["client_group_id"] != $this->oldDataRecord["client_group_id"]) {
      if(($_SESSION["s"]["user"]["typ"] == 'admin' || $app->auth->has_clients($_SESSION['s']['user']['userid'])) &&  isset($this->dataRecord["client_group_id"]) && $this->dataRecord["client_group_id"] != $this->oldDataRecord["sys_groupid"]) {
         // Set the values for document_root, system_user and system_group
         $system_user = $app->db->quote('web'.$this->id);
         $system_group = $app->db->quote('client'.$client_id);