We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c3d1804 + c55f9cc commit 78824afCopy full SHA for 78824af
interface/web/mail/mail_domain_edit.php
@@ -355,7 +355,7 @@ function onAfterInsert() {
355
// We create a new record
356
$insert_data = array(
357
"sys_userid" => $_SESSION["s"]["user"]["userid"],
358
- "sys_groupid" => $tmp_domain["sys_groupid"],
+ "sys_groupid" => (isset($this->dataRecord["client_group_id"]))?$this->dataRecord["client_group_id"]:$tmp_domain["sys_groupid"],
359
"sys_perm_user" => 'riud',
360
"sys_perm_group" => 'riud',
361
"sys_perm_other" => '',
0 commit comments