Index: wrappers/taxonomy.module.copyme
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/category/wrappers/taxonomy.module.copyme,v
retrieving revision 1.26.2.2
diff -u -p -r1.26.2.2 taxonomy.module.copyme
--- wrappers/taxonomy.module.copyme	2 Feb 2007 08:24:56 -0000	1.26.2.2
+++ wrappers/taxonomy.module.copyme	7 Feb 2007 22:51:22 -0000
@@ -849,6 +849,15 @@ function taxonomy_nodeapi(&$node, $op, $
     case 'load':
       $node->taxonomy = taxonomy_node_get_terms($node->nid);
       break;
+    case 'validate':
+      // Inject taxonomy into the form.
+      // This is needed for modules such as forum and simplenews,
+      // who check for taxonomy during validation and early submission.
+      global $form_values;
+      if (empty($form_values['taxonomy']) && !empty($form_values['category'])) {
+        $form_values['taxonomy'] = $form_values['category'];
+      }
+      break;
     case 'insert':
       if (category_is_cat_or_cont($node->nid)) {
         $type = category_node_get_type($node);
