Index: modules/node/content_types.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/content_types.inc,v
retrieving revision 1.19
diff -u -p -r1.19 content_types.inc
--- modules/node/content_types.inc	17 Dec 2006 21:49:24 -0000	1.19
+++ modules/node/content_types.inc	20 Dec 2006 02:11:33 -0000
@@ -360,10 +360,10 @@ function node_node_type($op, $info) {
  *   then nothing happens.
  */
 function node_type_reset(&$type) {
-  $info_array = module_invoke($type->module, 'node_info');
+  $info_array = module_invoke_all('node_info');
   if (isset($info_array[$type->orig_type])) {
-    $info = _node_type_set_defaults($info_array[$type->orig_type]);
     $info['type'] = $type->orig_type;
+    $info = _node_type_set_defaults($info_array[$type->orig_type]);
 
     foreach ($info as $field => $value) {
       $type->$field = $value;
