Skip to content
Snippets Groups Projects
Commit 6f76a9f5 authored by tbrehm's avatar tbrehm
Browse files

Fixed a bug were all sites had been created in the directory of client0.

parent 490039c0
No related branches found
No related tags found
No related merge requests found
......@@ -229,7 +229,7 @@ class page_action extends tform_actions {
$client_id = intval($client["client_id"]);
} else {
//$client_id = intval($this->dataRecord["client_group_id"]);
$client = $app->db->queryOneRecord("SELECT client_id FROM sys_group WHERE sys_group.groupid = ".intval($this->dataRecord["sys_groupid"]));
$client = $app->db->queryOneRecord("SELECT client_id FROM sys_group WHERE sys_group.groupid = ".intval($this->dataRecord["client_group_id"]));
$client_id = intval($client["client_id"]);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment