diff options
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/views.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php index 5214e96c3..1e309f5bd 100644 --- a/engine/lib/views.php +++ b/engine/lib/views.php @@ -981,6 +981,7 @@ function elgg_view_comments($entity, $add_comment = true) { $params = array( 'entity' => $entity, 'show_add_form' => $add_comment, + 'id' => "{$entity->getSubtype()}-comments", ); $output = elgg_view('layout/elements/comments', $params); |