summaryrefslogtreecommitdiff
path: root/modules/node
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-07-04 21:54:53 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2011-07-04 21:54:53 -0700
commit3614a37327544853ef0b35d8063c61c5aefb321d (patch)
tree62b6c7e99d02913274dae64b1d869bc2ab0459b0 /modules/node
parent3675d4f30634c6ef5d34d47b886f6294f4412af9 (diff)
downloadbrdo-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.module6
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;
}
/**