diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-07-04 21:54:53 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-07-04 21:54:53 -0700 |
commit | 3614a37327544853ef0b35d8063c61c5aefb321d (patch) | |
tree | 62b6c7e99d02913274dae64b1d869bc2ab0459b0 /modules/node | |
parent | 3675d4f30634c6ef5d34d47b886f6294f4412af9 (diff) | |
download | brdo-3614a37327544853ef0b35d8063c61c5aefb321d.tar.gz brdo-3614a37327544853ef0b35d8063c61c5aefb321d.tar.bz2 |
Issue #983632 by peterpoe, marcingy, catch: Fixed 'New' comment marker does not work.
Diffstat (limited to 'modules/node')
-rw-r--r-- | modules/node/node.module | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index 66e93c737..847697020 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1404,11 +1404,13 @@ function node_show($node, $message = FALSE) { drupal_set_title(t('Revision of %title from %date', array('%title' => $node->title, '%date' => format_date($node->revision_timestamp))), PASS_THROUGH); } + // For markup consistency with other pages, use node_view_multiple() rather than node_view(). + $nodes = node_view_multiple(array($node->nid => $node), 'full'); + // Update the history table, stating that this user viewed this node. node_tag_new($node); - // For markup consistency with other pages, use node_view_multiple() rather than node_view(). - return node_view_multiple(array($node->nid => $node), 'full'); + return $nodes; } /** |