summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-12-29 21:25:36 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-12-29 21:25:36 +0000
commit291b38bf34bfdbb12262e4bc92253cd9c0be280e (patch)
tree007999b22b46a0e363b2b1c2b227a2d19b4d2b15 /modules/node/node.module
parentcb9a2e2ad2fc5649e0382a5eb01bc5324615a660 (diff)
downloadbrdo-291b38bf34bfdbb12262e4bc92253cd9c0be280e.tar.gz
brdo-291b38bf34bfdbb12262e4bc92253cd9c0be280e.tar.bz2
#103371 by drewish. More consistent and correct calling of node_invoke(..., 'view').
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index cb690941f..29ea70338 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -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);