Index: modules/node/node.module
===================================================================
--- modules/node/node.module (revision 292)
+++ modules/node/node.module (working copy)
@@ -703,7 +703,7 @@
     // Types defined by the node module in the database (rather than by a separate
     // module using hook_node_info) have a base value of 'node_content'. The isset()
     // check prevents errors on old (pre-Drupal 7) databases.
-    if (isset($type_object->base) && $type_object->base != 'node_content' && empty($info_array[$type_db])) {
+    if (isset($type_object->base) && $type_object->base != 'node_content' && empty($_node_types->names[$type_db])) {
       $type_object->disabled = TRUE;
     }
     if (isset($info_array[$type_db])) {
