From 536f803ee7ba4255512d4c3f4df583773f5ef9ab Mon Sep 17 00:00:00 2001 From: Michael Fürmann <michael@spicyweb.de> Date: Thu, 19 Feb 2015 13:55:39 -0500 Subject: [PATCH] Auth plugin fix --- interface/web/mail/xmpp_domain_edit.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/interface/web/mail/xmpp_domain_edit.php b/interface/web/mail/xmpp_domain_edit.php index c13f786..ce90735 100644 --- a/interface/web/mail/xmpp_domain_edit.php +++ b/interface/web/mail/xmpp_domain_edit.php @@ -272,7 +272,7 @@ $this->dataRecord["management_method"] = 'maildomain'; // Check for corresponding mail domain $tmp = $app->db->queryOneRecord("SELECT count(domain_id) AS number FROM mail_domain WHERE domain = '".$this->dataRecord["domain"]."' AND ".$app->tform->getAuthSQL('r')." ORDER BY domain"); - if($tmp['count']==0){ + if($tmp['number']==0){ $app->error($app->tform->wordbook["no_corresponding_maildomain_txt"]); break; } -- Gitblit v1.9.1