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 c058e40 commit 60e31cbCopy full SHA for 60e31cb
interface/web/mail/xmpp_domain_edit.php
@@ -223,7 +223,7 @@ function onSubmit() {
223
/* check if the domain module is used - and check if the selected domain can be used! */
224
$app->uses('ini_parser,getconf');
225
$settings = $app->getconf->get_global_config('domains');
226
- if ($settings['use_domain_module'] == 'y') {
+ if ((isset($this->dataRecord['domain'])) && ($settings['use_domain_module'] == 'y')) {
227
if ($_SESSION["s"]["user"]["typ"] == 'admin' || $app->auth->has_clients($_SESSION['s']['user']['userid'])) {
228
$this->dataRecord['client_group_id'] = $app->tools_sites->getClientIdForDomain($this->dataRecord['domain']);
229
}
0 commit comments