From c98fd96c62e6a60f5e5e2476ebc38766e438c535 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 23 Aug 2009 18:41:02 +0000 Subject: #367595 follow-up by plach: Fix missing call to field_attach_preprocess(). --- modules/node/node.module | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/node') diff --git a/modules/node/node.module b/modules/node/node.module index bbf0413ec..2a43d95b9 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1271,6 +1271,9 @@ function template_preprocess_node(&$variables) { // Flatten the node object's member fields. $variables = array_merge((array)$node, $variables); + // Make the field variables available with the appropriate language. + field_attach_preprocess('node', $node, $node->content, $variables); + // Display post information only on certain node types. if (variable_get('node_submitted_' . $node->type, TRUE)) { $variables['submitted'] = theme('node_submitted', $node); -- cgit v1.2.3