diff options
Diffstat (limited to 'modules/taxonomy')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 4c003cbb0..9a95ae49c 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -1715,7 +1715,7 @@ function taxonomy_node_delete($node) { */ function taxonomy_node_delete_revision($node) { db_delete('taxonomy_term_node') - ->condition('nid', $node->vid) + ->condition('vid', $node->vid) ->execute(); drupal_static_reset('taxonomy_term_count_nodes'); } |