Index: editasnew.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/editasnew/editasnew.module,v
retrieving revision 1.7
diff -u -b -r1.7 editasnew.module
--- editasnew.module	26 Feb 2005 19:36:59 -0000	1.7
+++ editasnew.module	24 Jul 2005 15:36:00 -0000
@@ -1,5 +1,5 @@
 <?php
-// $Id: editasnew.module,v 1.7 2005/02/26 19:36:59 javanaut Exp $
+// $Id: editasnew.module,v 1.1.2.6 2005/02/26 19:37:56 javanaut Exp $
 
 /**
  * @file
@@ -93,7 +93,7 @@
  */
 function editasnew_field_check($template_node, $field_name) {
   // specify which fields *not* to copy from the template to the new node
-  $skip_fields = array('nid','created','changed','type');
+  $skip_fields = array('nid','created','changed','type','path');
   //drupal_set_message("checking field $field_name (value of ".$template_node->$field_name.")");
   
   if(in_array($field_name, $skip_fields)) {
@@ -121,6 +121,7 @@
       $template_nid = arg(4); // e.g. node/add/template/123
       if(arg(3) == 'template' && is_numeric($template_nid)) {
         $template_node = node_load(array('nid'=>$template_nid));
+        $template_node->taxonomy = array_keys(taxonomy_node_get_terms($template_nid));
         
         // only allow templating for nodes that don't currently exist (hence the check against $node->nid and $_POST['edit'])
         if (is_object($template_node) && variable_get('editasnew_'. $node->type, TRUE) && 
