diff -Naur taxonomy_node_operations_old/taxonomy_node_operations.info taxonomy_node_operations/taxonomy_node_operations.info
--- taxonomy_node_operations_old/taxonomy_node_operations.info	2007-07-12 10:50:52.000000000 -0400
+++ taxonomy_node_operations/taxonomy_node_operations.info	2008-05-22 05:53:12.000000000 -0400
@@ -1,9 +1,10 @@
 ;$Id: taxonomy_node_operations.info,v 1.1 2007/07/12 05:52:28 morrissinger Exp $
 name = Taxonomy Node Operations
 description = Adds the ability to assign terms to nodes in the node operations dropdown in admin/content/node.
-dependencies = taxonomy
+dependencies[] = taxonomy
 ; Information added by drupal.org packaging script on 2007-07-12
-version = "5.x-1.1"
+version = "6.x-2.0"
+core = "6.x"
 project = "taxonomy_node_operations"
 datestamp = "1184251852"
 
diff -Naur taxonomy_node_operations_old/taxonomy_node_operations.module taxonomy_node_operations/taxonomy_node_operations.module
--- taxonomy_node_operations_old/taxonomy_node_operations.module	2007-07-12 10:47:09.000000000 -0400
+++ taxonomy_node_operations/taxonomy_node_operations.module	2008-05-22 06:08:23.000000000 -0400
@@ -1,15 +1,15 @@
 <?php
 // $Id: taxonomy_node_operations.module,v 1.1.2.1 2007/07/12 14:47:09 morrissinger Exp $
 
-function taxonomy_node_operations_node_operations() {
+function taxonomy_node_operations_node_operations() {
 	$vocabularies = taxonomy_get_vocabularies();
 	
 	$operations = array();
 
 	foreach($vocabularies as $vid => $vocabulary) {
-		$tree = taxonomy_get_tree($vid);
+	  $tree = taxonomy_get_tree($vid);
 		foreach($tree as $term) {
-			$operations[$term->tid] = array(
+		  $operations[$term->tid] = array(
 				'label' => t('Taxonomy: Add to ') . $vocabulary->name . '->' . $term->name,
 				'callback' => 'taxonomy_node_operations_node_save',
 				'callback arguments' => array(
@@ -37,9 +37,10 @@
 	return $operations;
 }
 
-function taxonomy_node_operations_node_save($nodes, $term, $vocabulary) {		
-	foreach((array)$nodes as $nid => $node) {
-		if(!$vocabulary->multiple) {
+function taxonomy_node_operations_node_save($nodes, $term, $vocabulary) {	
+    foreach((array)$nodes as $nid) {
+      $node=node_load($nid);
+      if(!$vocabulary->multiple) {
 			$tid = db_result(db_query("SELECT tn.tid FROM {term_node} tn INNER JOIN {term_data} td ON tn.tid=td.tid WHERE tn.nid = %d AND td.vid = %d", $nid, $vocabulary->vid));
 			db_query('DELETE FROM {term_node} WHERE nid = %d AND tid = %d', $nid, $tid);
 		}
@@ -54,7 +55,7 @@
 
 		$tids = array_unique($tids);
 		
-		taxonomy_node_save($nid, $tids);
+		taxonomy_node_save($node, $tids);
 	}
 	
 	drupal_set_message(t('The nodes have been !a to the %t term.', array('!a' => ($vocabulary->multiple ? t('added') : t('moved')), '%t' => $term->name)));
