diff --git a/bureau/class/m_mail.php b/bureau/class/m_mail.php index f624d297..9a5dcc99 100644 --- a/bureau/class/m_mail.php +++ b/bureau/class/m_mail.php @@ -471,10 +471,10 @@ ORDER BY $this->delete($one["id"]); } } - $db->query("SELECT domaine FROM domaines WHERE id= ? ;", array($domain_id)); + $db->query("SELECT domaine FROM domaines WHERE id= ? ;", array($dom_id)); if ($db->next_record()) { $db->query("UPDATE sub_domaines SET web_action='DELETE' WHERE domaine= ? AND type='txt' AND (sub='' AND valeur LIKE 'v=spf1 %') OR (sub='_dmarc' AND valeur LIKE 'v=dmarc1;%');", array($db->Record["domaine"])); - $db->query("UPDATE domaines SET dns_action='UPDATE' WHERE id= ? ;", array($domain_id)); + $db->query("UPDATE domaines SET dns_action='UPDATE' WHERE id= ? ;", array($dom_id)); } return true;