Commit 291b38bf authored by drumm's avatar drumm
Browse files

#103371 by drewish. More consistent and correct calling of node_invoke(..., 'view').

parent cb9a2e2a
......@@ -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);
......
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