summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-03-28 10:46:36 +0000
committerDries Buytaert <dries@buytaert.net>2010-03-28 10:46:36 +0000
commitcf7750838d0e4d47928478776245f041030c1ac4 (patch)
treea47151ca5cdc8ba08b78afd013c945ddd64fc962
parent7bb37e19c1a1899cbfca1786e68bdd3ada070c7d (diff)
downloadbrdo-cf7750838d0e4d47928478776245f041030c1ac4.tar.gz
brdo-cf7750838d0e4d47928478776245f041030c1ac4.tar.bz2
- Patch #707724 by yche: forgot to rename 'object keys' to 'entity keys'.
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
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']));
}
}