From 694f1e5dd2e984ecd785b9b191a49d0ee03e00f3 Mon Sep 17 00:00:00 2001 From: tbrehm Date: Sat, 20 Mar 2010 18:18:46 +0000 Subject: [PATCH] Fixed: FS#1125 - Path of ftp users changes on website updates --- interface/web/sites/web_domain_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/web/sites/web_domain_edit.php b/interface/web/sites/web_domain_edit.php index edfce6741..7c7829a4a 100644 --- a/interface/web/sites/web_domain_edit.php +++ b/interface/web/sites/web_domain_edit.php @@ -393,7 +393,7 @@ class page_action extends tform_actions { $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); -- GitLab