summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index da9ea6f35..913a1a548 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -498,6 +498,7 @@ function comment_nodeapi_view($node, $teaser) {
if ($node->comment && (bool)menu_get_object() && $node->build_mode != NODE_BUILD_PREVIEW) {
$node->content['comments'] = array(
'#markup' => comment_render($node),
+ '#sorted' => TRUE,
);
}
}