Skip to content
Snippets Groups Projects
Commit 291b38bf authored by Neil Drumm's avatar Neil Drumm :wave:
Browse files

#103371 by drewish. More consistent and correct calling of node_invoke(..., 'view').

parent cb9a2e2a
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -1781,7 +1781,7 @@ function node_feed($nodes = 0, $channel = array()) {
// Filter and prepare node teaser
if (node_hook($item, 'view')) {
node_invoke($item, 'view', $teaser, FALSE);
$item = node_invoke($item, 'view', $teaser, FALSE);
}
else {
$item = node_prepare($item, $teaser);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment