summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-23 18:41:02 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-23 18:41:02 +0000
commitc98fd96c62e6a60f5e5e2476ebc38766e438c535 (patch)
treeea68b324e16302219ed27658fbdeee314af20910 /modules
parentfc20d6e2b5cb521f01ddd6349801d0b99b0780ca (diff)
downloadbrdo-c98fd96c62e6a60f5e5e2476ebc38766e438c535.tar.gz
brdo-c98fd96c62e6a60f5e5e2476ebc38766e438c535.tar.bz2
#367595 follow-up by plach: Fix missing call to field_attach_preprocess().
Diffstat (limited to 'modules')
-rw-r--r--modules/node/node.module3
1 files changed, 3 insertions, 0 deletions
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);