bug fixes variable $dom_id et non $domain_id
This commit is contained in:
parent
77a7849119
commit
20dab5677a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue