diff options
Diffstat (limited to 'modules/taxonomy.module')
-rw-r--r-- | modules/taxonomy.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy.module b/modules/taxonomy.module index 6059c1e11..9227db223 100644 --- a/modules/taxonomy.module +++ b/modules/taxonomy.module @@ -504,7 +504,7 @@ function taxonomy_node_save($nid, $terms) { } } } - if ($term) { + else if ($term) { db_query('INSERT INTO {term_node} (nid, tid) VALUES (%d, %d)', $nid, $term); } } |