Partial fix of #1324

This commit is contained in:
Alan Garcia 2012-10-16 14:41:58 +00:00
parent 97fd2dfdf6
commit 4627c4b581
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }