diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-04-11 16:39:19 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-04-11 16:39:19 +0000 |
commit | 9802b20a175e7a04bf8346fdaa7c61714909fb06 (patch) | |
tree | 1d21933dafe053729f4e6c6aa9de7b3f1cdad9d8 /modules/node.module | |
parent | c4d24a48c595d1cec457bfef4579aa87332a61f9 (diff) | |
download | brdo-9802b20a175e7a04bf8346fdaa7c61714909fb06.tar.gz brdo-9802b20a175e7a04bf8346fdaa7c61714909fb06.tar.bz2 |
- Patch #20188 by Goba: Node_feed() instructs the nodeapi view call it invokes to deal with the body of the node, but afterwards it only uses the teaser to generate the feed. So the nodeapi hook should be called with teaser processing in mind. This simple patch fixes that.
Diffstat (limited to 'modules/node.module')
-rw-r--r-- | modules/node.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/node.module b/modules/node.module index 59635c700..86009f72c 100644 --- a/modules/node.module +++ b/modules/node.module @@ -1159,8 +1159,8 @@ function node_feed($nodes = 0, $channel = array()) { $item = node_prepare($item, TRUE); } - // Allow modules to change $node->body before viewing. - node_invoke_nodeapi($item, 'view', false, false); + // Allow modules to change $node->teaser before viewing. + node_invoke_nodeapi($item, 'view', true, false); // Allow modules to add additional item fields $extra = node_invoke_nodeapi($item, 'rss item'); |