--- node_convert.module.org 2009-05-27 22:32:08.000000000 +0530 +++ node_convert.module 2009-10-27 00:48:25.000000000 +0530 @@ -556,7 +556,7 @@ function node_convert_convert_action(&$n drupal_set_message(t("Node %nid doesn't match the template source type. Discarded. ", array('nid' => $node->nid)), 'warning'); } else { - $result = node_convert_node_convert($node->nid, $template['destination_type'], $template['fields']['source'], $template['fields']['destination'], $template['data']['no_fields'], $template['data']['hook_options']); + $result = node_convert_node_convert($node->nid, $template['destination_type'], $template['data']['fields']['source'], $template['data']['fields']['destination'], $template['data']['no_fields'], $template['data']['hook_options']); // We display errors if any, or the default succesuful message node_convert_messages($result, array('nid' => $nid)); // This is node_load is necessary. It loads the new data from the DB, which gets passed down the action chain by reference, where it is saved. @@ -935,7 +935,7 @@ function node_convert_convert_nodes_usin drupal_set_message(t("Node %nid doesn't match the template source type. Discarded. ", array('nid' => $node->nid)), 'warning'); } else { - $result = node_convert_node_convert($node->nid, $template['destination_type'], $template['fields']['source'], $template['fields']['destination'], $template['data']['no_fields'], $template['data']['hook_options']); + $result = node_convert_node_convert($node->nid, $template['destination_type'], $template['data']['fields']['source'], $template['data']['fields']['destination'], $template['data']['no_fields'], $template['data']['hook_options']); // We display errors if any, or the default succesuful message node_convert_messages($result, array('nid' => $nid)); }