diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-12-23 23:26:14 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-12-23 23:26:14 +0000 |
commit | fde5f1bf6f0471ed3ab463b5e9183054148c9975 (patch) | |
tree | fc428c5d759fc27072ab55cdb23250a9f4ae7ea5 /modules/node/node.module | |
parent | b2e04ead896b6a964c1833aaa7a89875dc39005c (diff) | |
download | brdo-fde5f1bf6f0471ed3ab463b5e9183054148c9975.tar.gz brdo-fde5f1bf6f0471ed3ab463b5e9183054148c9975.tar.bz2 |
- Patch #14709 by matteo: added missing call to the nodeapi's 'view' hook.
Diffstat (limited to 'modules/node/node.module')
-rw-r--r-- | modules/node/node.module | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index 0ea3c0405..913002469 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1028,6 +1028,9 @@ 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); + $items .= format_rss_item($item->title, $link, $item->teaser, array('pubDate' => date('r', $item->changed))); } |