Commit c98fd96c authored by webchick's avatar webchick

#367595 follow-up by plach: Fix missing call to field_attach_preprocess().

parent fc20d6e2
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment