From 60e31cb5f293cb797c5b6049364b5b4c43c3ead2 Mon Sep 17 00:00:00 2001 From: Till Brehm Date: Thu, 21 Sep 2017 18:16:38 +0200 Subject: [PATCH] Fixed #4765 XMPP issue: Unhandled c2s_unauthed stanza: iq; xmlns=jabber:iq:auth --- interface/web/mail/xmpp_domain_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/web/mail/xmpp_domain_edit.php b/interface/web/mail/xmpp_domain_edit.php index 3f62dbdb03..ec5a5fc11b 100644 --- a/interface/web/mail/xmpp_domain_edit.php +++ b/interface/web/mail/xmpp_domain_edit.php @@ -223,7 +223,7 @@ class page_action extends tform_actions { /* check if the domain module is used - and check if the selected domain can be used! */ $app->uses('ini_parser,getconf'); $settings = $app->getconf->get_global_config('domains'); - if ($settings['use_domain_module'] == 'y') { + if ((isset($this->dataRecord['domain'])) && ($settings['use_domain_module'] == 'y')) { if ($_SESSION["s"]["user"]["typ"] == 'admin' || $app->auth->has_clients($_SESSION['s']['user']['userid'])) { $this->dataRecord['client_group_id'] = $app->tools_sites->getClientIdForDomain($this->dataRecord['domain']); } -- GitLab