Commit fde5f1bf authored by Dries's avatar Dries
Browse files

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

parent b2e04ead
......@@ -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)));
}
......
......@@ -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)));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment