- Patch #14709 by matteo: added missing call to the nodeapi's 'view' hook.
parent
71df0fcbd2
commit
87314b80df
|
@ -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)));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue