From 20dab5677a0e4b446141ac7ec29df9ecd062bb34 Mon Sep 17 00:00:00 2001 From: Remi Date: Tue, 24 Jan 2017 17:52:29 +0100 Subject: [PATCH] bug fixes variable $dom_id et non $domain_id --- bureau/class/m_mail.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;