From f7b32b76cce0cca2dcd5a31b41cd9e4b3bdd5d69 Mon Sep 17 00:00:00 2001 From: fantu <fantu@ispconfig3> Date: Mon, 29 Dec 2008 03:35:09 -0500 Subject: [PATCH] Improve italian error and standard index file --- interface/web/sites/shell_user_edit.php | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/interface/web/sites/shell_user_edit.php b/interface/web/sites/shell_user_edit.php index c65b628..d288baa 100644 --- a/interface/web/sites/shell_user_edit.php +++ b/interface/web/sites/shell_user_edit.php @@ -195,7 +195,8 @@ $client_group_id = $_SESSION["s"]["user"]["default_group"]; } else { // Get the group-id from the data itself - $client_group_id = $this->dataRecord['client_group_id']; + $web = $app->db->queryOneRecord("SELECT sys_groupid FROM web_domain WHERE domain_id = ".intval($this->dataRecord['parent_domain_id'])); + $client_group_id = $web['sys_groupid']; } /* get the name of the client */ $tmp = $app->db->queryOneRecord("SELECT name FROM sys_group WHERE groupid = " . $client_group_id); -- Gitblit v1.9.1