Skip to content

Commit 60e31cb

Browse files
author
Till Brehm
committed
Fixed #4765 XMPP issue: Unhandled c2s_unauthed stanza: iq; xmlns=jabber:iq:auth
1 parent c058e40 commit 60e31cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/mail/xmpp_domain_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ function onSubmit() {
223223
/* check if the domain module is used - and check if the selected domain can be used! */
224224
$app->uses('ini_parser,getconf');
225225
$settings = $app->getconf->get_global_config('domains');
226-
if ($settings['use_domain_module'] == 'y') {
226+
if ((isset($this->dataRecord['domain'])) && ($settings['use_domain_module'] == 'y')) {
227227
if ($_SESSION["s"]["user"]["typ"] == 'admin' || $app->auth->has_clients($_SESSION['s']['user']['userid'])) {
228228
$this->dataRecord['client_group_id'] = $app->tools_sites->getClientIdForDomain($this->dataRecord['domain']);
229229
}

0 commit comments

Comments
 (0)