From 39947d4f1cc6157c623e3548443b04fb105b2281 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Wed, 6 Sep 2017 18:43:40 +0200 Subject: [PATCH] fixing the detection of conflicts in sub_domains --- bureau/class/m_dom.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bureau/class/m_dom.php b/bureau/class/m_dom.php index 5de82d43..1c01650a 100644 --- a/bureau/class/m_dom.php +++ b/bureau/class/m_dom.php @@ -1344,7 +1344,7 @@ class m_dom { $compatibility_lst = explode(",", $db->f('compatibility')); // Get the list of type of subdomains already here who have the same name - $db->query("select * from sub_domaines where sub= ? and domaine= ? and not id = ? and web_action != 'DELETE' and enabled not in ('DISABLED', 'DISABLE') ", array($sub, $dom, $sub_domain_id)); + $db->query("select * from sub_domaines where sub= ? and domaine= ? and not id = ? and web_action != 'DELETE' and enable not in ('DISABLED', 'DISABLE') ", array($sub, $dom, $sub_domain_id)); #$db->query("select * from sub_domaines where sub='$sub' and domaine='$dom';"); while ($db->next_record()) { // And if there is a domain with a incompatible type, return false