Skip to content

Commit 536f803

Browse files
committed
Auth plugin fix
1 parent 07e1dc6 commit 536f803

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
@@ -272,7 +272,7 @@ function onSubmit() {
272272
$this->dataRecord["management_method"] = 'maildomain';
273273
// Check for corresponding mail domain
274274
$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");
275-
if($tmp['count']==0){
275+
if($tmp['number']==0){
276276
$app->error($app->tform->wordbook["no_corresponding_maildomain_txt"]);
277277
break;
278278
}

0 commit comments

Comments
 (0)