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.
1 parent 72c4f4f commit 8255b34Copy full SHA for 8255b34
interface/lib/plugins/mail_mail_domain_plugin.inc.php
@@ -60,7 +60,7 @@ function mail_mail_domain_edit($event_name, $page_form) {
60
}
61
62
//** If the domain name or owner has been changed, change the domain and owner in all mailbox records
63
- if($page_form->oldDataRecord && ($page_form->oldDataRecord['domain'] != $domain ||
+ if($page_form->oldDataRecord && !empty($page_form->oldDataRecord['domain']) && ($page_form->oldDataRecord['domain'] != $domain ||
64
(isset($page_form->dataRecord['client_group_id']) && $page_form->oldDataRecord['sys_groupid'] != $page_form->dataRecord['client_group_id']))) {
65
$app->uses('getconf');
66
$mail_config = $app->getconf->get_server_config($page_form->dataRecord["server_id"], 'mail');
0 commit comments