From cf7750838d0e4d47928478776245f041030c1ac4 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 28 Mar 2010 10:46:36 +0000 Subject: - Patch #707724 by yche: forgot to rename 'object keys' to 'entity keys'. --- includes/common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/common.inc') diff --git a/includes/common.inc b/includes/common.inc index f6ad0e7cd..117c92783 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -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'])); } } -- cgit v1.2.3