Commit 626928de authored by jmontoya's avatar jmontoya
Browse files

Fixing query in remoting::mail_domain_set_status

parent e1358932
......@@ -2365,7 +2365,7 @@ class remoting {
} else {
$status = 'n';
}
$sql = "UPDATE mail_domain SET active = '$status' WHERE id = ".intval($primary_id);
$sql = "UPDATE mail_domain SET active = '$status' WHERE domain_id = ".intval($primary_id);
$app->db->query($sql);
$result = $app->db->affectedRows();
return $result;
......
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