summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/theme.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index 606beebf1..1b5d03afd 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -2006,10 +2006,10 @@ function template_preprocess_node(&$variables) {
}
// Clean up name so there are no underscores.
$variables['template_files'][] = 'node-' . str_replace('_', '-', $node->type);
- $variables['template_files'][] = 'node-' . $node->nid;
-
- // Add $FIELD_NAME_rendered variables for fields.
- drupal_function_exists('field_attach_preprocess');
+ $variables['template_files'][] = 'node-' . $node->nid;
+
+ // Add $FIELD_NAME_rendered variables for fields.
+ drupal_function_exists('field_attach_preprocess');
$variables += field_attach_preprocess('node', $node);
}