Commit cf775083 authored by Dries's avatar Dries
Browse files

- Patch #707724 by yche: forgot to rename 'object keys' to 'entity keys'.

parent 7bb37e19
......@@ -6247,7 +6247,7 @@ function entity_get_info($entity_type = NULL) {
);
// 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']));
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment