From 291b38bf34bfdbb12262e4bc92253cd9c0be280e Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Fri, 29 Dec 2006 21:25:36 +0000 Subject: #103371 by drewish. More consistent and correct calling of node_invoke(..., 'view'). --- modules/node/node.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/node/node.module') 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); -- cgit v1.2.3