Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
309
Merge Requests
309
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
c98fd96c
Commit
c98fd96c
authored
Aug 23, 2009
by
webchick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#367595
follow-up by plach: Fix missing call to field_attach_preprocess().
parent
fc20d6e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
modules/node/node.module
modules/node/node.module
+3
-0
No files found.
modules/node/node.module
View file @
c98fd96c
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment