diff options
-rw-r--r-- | modules/taxonomy.module | 2 | ||||
-rw-r--r-- | modules/taxonomy/taxonomy.module | 2 |
2 files changed, 2 insertions, 2 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); } } diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 6059c1e11..9227db223 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/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); } } |