Bug sur le renommage de sous domaine.

Xals: a merger
This commit is contained in:
Alan Garcia 2011-07-29 13:50:27 +00:00
parent 751326f7b7
commit dc692db833
1 changed files with 1 additions and 1 deletions

View File

@ -877,7 +877,7 @@ class m_dom {
}
if (! is_null($type_old )) { // It's not a creation, it's an edit. Delete the old one
$db->query("update sub_domaines set web_action='DELETE' where domaine='$dom' and sub='$sub' and upper(type)=upper('$type_old') and valeur='$value_old';");
$db->query("update sub_domaines set web_action='DELETE' where domaine='$dom' and sub='$sub_old' and upper(type)=upper('$type_old') and valeur='$value_old';");
}
// Re-create the one we want