Commit 536f803e authored by Michael Fürmann's avatar Michael Fürmann
Browse files

Auth plugin fix

parent 07e1dc63
......@@ -272,7 +272,7 @@ class page_action extends tform_actions {
$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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment