diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-03-27 05:52:50 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-03-27 05:52:50 +0000 |
commit | 7d4b84b8789ffd3ad22dc987860f46c18f9d0f07 (patch) | |
tree | a5e7429b505f079ea6e0938f4f7773719200c915 /modules/field/tests/field_test.storage.inc | |
parent | f86fda29a3e004e7e38a5d039aa0869a5bd6d888 (diff) | |
download | brdo-7d4b84b8789ffd3ad22dc987860f46c18f9d0f07.tar.gz brdo-7d4b84b8789ffd3ad22dc987860f46c18f9d0f07.tar.bz2 |
#707724 follow-up by yched: Fix more confusing field/entity api arguments.
Diffstat (limited to 'modules/field/tests/field_test.storage.inc')
-rw-r--r-- | modules/field/tests/field_test.storage.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/field/tests/field_test.storage.inc b/modules/field/tests/field_test.storage.inc index 6ce272040..532598832 100644 --- a/modules/field/tests/field_test.storage.inc +++ b/modules/field/tests/field_test.storage.inc @@ -323,7 +323,7 @@ function field_test_field_storage_query($field_id, $conditions, $count, &$cursor // If querying all revisions and the entity type has revisions, we need // to key the results by revision_ids. $entity_type = entity_get_info($row->type); - $id = ($load_current || empty($entity_type['object keys']['revision'])) ? $row->entity_id : $row->revision_id; + $id = ($load_current || empty($entity_type['entity keys']['revision'])) ? $row->entity_id : $row->revision_id; if (!isset($return[$row->type][$id])) { $return[$row->type][$id] = entity_create_stub_entity($row->type, array($row->entity_id, $row->revision_id, $row->bundle)); |