Partial fix of #1324
This commit is contained in:
parent
97fd2dfdf6
commit
4627c4b581
|
@ -924,7 +924,7 @@ class m_dom {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Re-create the one we want
|
// Re-create the one we want
|
||||||
if (! $db->query("insert into sub_domaines (compte,domaine,sub,valeur,type,web_action) values ('$cuid','$dom','$sub','$dest','$type','UPDATE');") ) {
|
if (! $db->query("replace into sub_domaines (compte,domaine,sub,valeur,type,web_action) values ('$cuid','$dom','$sub','$dest','$type','UPDATE');") ) {
|
||||||
echo "query failed: ".$db->Error;
|
echo "query failed: ".$db->Error;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue