fixing the detection of conflicts in sub_domains
This commit is contained in:
parent
8bfdd1fb4f
commit
39947d4f1c
|
@ -1344,7 +1344,7 @@ class m_dom {
|
||||||
$compatibility_lst = explode(",", $db->f('compatibility'));
|
$compatibility_lst = explode(",", $db->f('compatibility'));
|
||||||
|
|
||||||
// Get the list of type of subdomains already here who have the same name
|
// 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';");
|
#$db->query("select * from sub_domaines where sub='$sub' and domaine='$dom';");
|
||||||
while ($db->next_record()) {
|
while ($db->next_record()) {
|
||||||
// And if there is a domain with a incompatible type, return false
|
// And if there is a domain with a incompatible type, return false
|
||||||
|
|
Loading…
Reference in New Issue