? .settings
Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.1136
diff -u -p -r1.1136 common.inc
--- includes/common.inc	27 Mar 2010 05:55:24 -0000	1.1136
+++ includes/common.inc	27 Mar 2010 14:44:49 -0000
@@ -6247,7 +6247,7 @@ function entity_get_info($entity_type = 
         );
         // If no bundle key is provided, assume a single bundle, named after
         // the entity type.
-        if (empty($entity_info[$name]['object keys']['bundle']) && empty($entity_info[$name]['bundles'])) {
+        if (empty($entity_info[$name]['entity keys']['bundle']) && empty($entity_info[$name]['bundles'])) {
           $entity_info[$name]['bundles'] = array($name => array('label' => $entity_info[$name]['label']));
         }
       }
