summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-04-12 05:09:13 +0000
committerDries Buytaert <dries@buytaert.net>2005-04-12 05:09:13 +0000
commit444cf78ee53c638ed109c94bc9af0ee600e79eba (patch)
tree35121a5f6f99537ba5ef8aaaa8a717b5f0cf751a /modules
parent23bccfd1c8731823205354768e5cf7a61e42a395 (diff)
downloadbrdo-444cf78ee53c638ed109c94bc9af0ee600e79eba.tar.gz
brdo-444cf78ee53c638ed109c94bc9af0ee600e79eba.tar.bz2
- Patch by Morbus: added missing taxonomy_node_delete().
Diffstat (limited to 'modules')
-rw-r--r--modules/taxonomy.module1
-rw-r--r--modules/taxonomy/taxonomy.module1
2 files changed, 2 insertions, 0 deletions
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.