Index: modules/taxonomy.module =================================================================== RCS file: /cvs/drupal/drupal/modules/taxonomy.module,v retrieving revision 1.231 diff -u -r1.231 taxonomy.module --- modules/taxonomy.module 19 Oct 2005 09:46:22 -0000 1.231 +++ modules/taxonomy.module 20 Oct 2005 14:08:44 -0000 @@ -301,6 +301,9 @@ } } } + else { + db_query('INSERT INTO {term_hierarchy} (tid, parent) VALUES (%d, %d)', $edit['tid'], $edit['parent']); + } db_query('DELETE FROM {term_synonym} WHERE tid = %d', $edit['tid']); if ($edit['synonyms']) {