Commit c13e4388 authored by mlutfy's avatar mlutfy

alternc_add_mx_domain: fixed incorrect SQL insert statement (merci Patrick)

parent 8a3fd36f
......@@ -637,7 +637,7 @@ class m_mail {
function alternc_add_mx_domain($dom) {
global $err,$cuid,$db,$mem;
$err->log("mail","alternc_add_mx_domain",$dom);
$db->query("INSERT INTO mail_domain (mail,alias,cuid) VALUES ('$dom','$dom', '$cuid');");
$db->query("INSERT INTO mail_domain (mail,alias,uid) VALUES ('$dom','$dom', '$cuid');");
// Create the postmaster email for this new domain :
$this->add_mail($dom,"postmaster",0,"",$mem->user["mail"]);
return true;
......
Markdown is supported
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