- Patch #14709 by matteo: added missing call to the nodeapi's 'view' hook.

4.5.x
Dries Buytaert 2004-12-23 23:27:44 +00:00
parent 71df0fcbd2
commit 87314b80df
1 changed files with 2 additions and 0 deletions

View File

@ -1005,6 +1005,8 @@ function node_feed($nodes = 0, $channel = array()) {
else {
$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)));
}