Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
291b38bf
Commit
291b38bf
authored
Dec 29, 2006
by
drumm
Browse files
#103371
by drewish. More consistent and correct calling of node_invoke(..., 'view').
parent
cb9a2e2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/node/node.module
View file @
291b38bf
...
...
@@ -1781,7 +1781,7 @@ function node_feed($nodes = 0, $channel = array()) {
// Filter and prepare node teaser
if (node_hook($item, 'view')) {
node_invoke
(
$item
,
'view'
,
$teaser
,
FALSE
);
$item =
node_invoke($item, 'view', $teaser, FALSE);
}
else {
$item = node_prepare($item, $teaser);
...
...
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