From 444cf78ee53c638ed109c94bc9af0ee600e79eba Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 12 Apr 2005 05:09:13 +0000 Subject: - Patch by Morbus: added missing taxonomy_node_delete(). --- modules/taxonomy.module | 1 + modules/taxonomy/taxonomy.module | 1 + 2 files changed, 2 insertions(+) (limited to 'modules') diff --git a/modules/taxonomy.module b/modules/taxonomy.module index 263e82a18..12d28dc18 100644 --- a/modules/taxonomy.module +++ b/modules/taxonomy.module @@ -583,6 +583,7 @@ function taxonomy_node_validate(&$node) { * Save term associations for a given node. */ function taxonomy_node_save($nid, $terms) { + taxonomy_node_delete($nid); // Free tagging vocabularies do not send their tids in the form, // so we'll detect them here and process them independently. diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 263e82a18..12d28dc18 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -583,6 +583,7 @@ function taxonomy_node_validate(&$node) { * Save term associations for a given node. */ function taxonomy_node_save($nid, $terms) { + taxonomy_node_delete($nid); // Free tagging vocabularies do not send their tids in the form, // so we'll detect them here and process them independently. -- cgit v1.2.3