Commit 444cf78e authored by Dries's avatar Dries
Browse files

- Patch by Morbus: added missing taxonomy_node_delete().

parent 23bccfd1
......@@ -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.
......
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment