summaryrefslogtreecommitdiff
path: root/modules/rdf
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-03-27 05:52:50 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-03-27 05:52:50 +0000
commit7d4b84b8789ffd3ad22dc987860f46c18f9d0f07 (patch)
treea5e7429b505f079ea6e0938f4f7773719200c915 /modules/rdf
parentf86fda29a3e004e7e38a5d039aa0869a5bd6d888 (diff)
downloadbrdo-7d4b84b8789ffd3ad22dc987860f46c18f9d0f07.tar.gz
brdo-7d4b84b8789ffd3ad22dc987860f46c18f9d0f07.tar.bz2
#707724 follow-up by yched: Fix more confusing field/entity api arguments.
Diffstat (limited to 'modules/rdf')
-rw-r--r--modules/rdf/rdf.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rdf/rdf.module b/modules/rdf/rdf.module
index cc18d5f41..03c153b8e 100644
--- a/modules/rdf/rdf.module
+++ b/modules/rdf/rdf.module
@@ -507,7 +507,7 @@ function rdf_preprocess_node(&$variables) {
*/
function rdf_preprocess_field(&$variables) {
$element = $variables['element'];
- $mapping = rdf_mapping_load($element['#object_type'], $element['#bundle']);
+ $mapping = rdf_mapping_load($element['#entity_type'], $element['#bundle']);
$field_name = $element['#field_name'];
if (!empty($mapping) && !empty($mapping[$field_name])) {